Skip to content
Heist/ feed
Back to feed
High

proftpd-dfsg — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-42167

mod_sql in ProFTPD before 1.3.9a allows remote attackers to execute arbitrary code via a username, in scenarios where there is logging of USER requests with an expansion such as %U, and the SQL backend allows commands (e.g., COPY TO PROGRAM).

Products
proftpd-dfsg
Affected versions
1.3.5-2, 1.3.5a-1, 1.3.5a-1build1, 1.3.5a-1ubuntu0.1, 1.3.5d-1, 1.3.5e-1build1, 1.3.6-6build2, 1.3.6c-1, 1.3.6c-2, 1.3.6c-2ubuntu0.1, 1.3.7b+dfsg-1, 1.3.7c+dfsg-1build1, 1.3.7c+dfsg-1ubuntu0.1, 1.3.8+dfsg-8, 1.3.8.a+dfsg-1, 1.3.8.b+dfsg-1, 1.3.8.b+dfsg-1build1, 1.3.8.b+dfsg-1build2, 1.3.8.b+dfsg-1build3, 1.3.8.b+dfsg-1ubuntu0.1, 1.3.8.c+dfsg-2, 1.3.8.c+dfsg-4, 1.3.9b~dfsg-1, 1.3.9d~dfsg-1, 1.3.9~dfsg-3, 1.3.9~dfsg-4
Fixed versions
Not specified
CVEs
CVE-2026-42167
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:44 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-42167

core-osv · Original source

Published 28 Apr 2026, 23:16 UTC

mod_sql in ProFTPD before 1.3.9a allows remote attackers to execute arbitrary code via a username, in scenarios where there is logging of USER requests with an expansion such as %U, and the SQL backend allows commands (e.g., COPY TO PROGRAM).

osv:UBUNTU-CVE-2026-42167

proftpd-dfsg

Fixed versions: Not specified

proftpd-dfsg

Fixed versions: Not specified

proftpd-dfsg

Fixed versions: Not specified

proftpd-dfsg

Fixed versions: Not specified

proftpd-dfsg

Fixed versions: Not specified

proftpd-dfsg

Fixed versions: Not specified

proftpd-dfsg

Fixed versions: Not specified

proftpd-dfsg

Fixed versions: Not specified

Complete source record
{
  "id": "9658897dad6058504720b5e58ee737ff0ea41556fcdb969b063a8e762447414c",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-42167",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-42167",
    "summary": "mod_sql in ProFTPD before 1.3.9a allows remote attackers to execute arbitrary code via a username, in scenarios where there is logging of USER requests with an expansion such as %U, and the SQL backend allows commands (e.g., COPY TO PROGRAM).",
    "evidence": "osv:UBUNTU-CVE-2026-42167",
    "products": [
      {
        "name": {
          "value": "proftpd-dfsg",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.5-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.5a-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.5a-1build1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.5a-1ubuntu0.1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "proftpd-dfsg",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.5d-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.3.5e-1build1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "proftpd-dfsg",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.6-6build2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.3.6c-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.3.6c-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.3.6c-2ubuntu0.1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "proftpd-dfsg",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.7b+dfsg-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.3.7c+dfsg-1build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.3.7c+dfsg-1ubuntu0.1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "proftpd-dfsg",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.8+dfsg-8",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.3.8.a+dfsg-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.3.8.b+dfsg-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.3.8.b+dfsg-1build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.3.8.b+dfsg-1build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.3.8.b+dfsg-1build3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.3.8.b+dfsg-1ubuntu0.1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "proftpd-dfsg",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.8.c+dfsg-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.3.8.c+dfsg-4",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.3.9~dfsg-3",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "proftpd-dfsg",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.9~dfsg-4",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.3.9b~dfsg-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.3.9d~dfsg-1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "proftpd-dfsg",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.9~dfsg-3",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.3.9~dfsg-4",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-42167",
      "aliases": [
        "UBUNTU-CVE-2026-42167"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "proftpd-dfsg",
            "purl": "pkg:deb/ubuntu/proftpd-dfsg?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.3.5-2",
            "1.3.5a-1",
            "1.3.5a-1build1",
            "1.3.5a-1ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42167.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "proftpd-basic",
                "binary_version": "1.3.5a-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-geoip",
                "binary_version": "1.3.5a-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-ldap",
                "binary_version": "1.3.5a-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-mysql",
                "binary_version": "1.3.5a-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-odbc",
                "binary_version": "1.3.5a-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-pgsql",
                "binary_version": "1.3.5a-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-sqlite",
                "binary_version": "1.3.5a-1ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "proftpd-dfsg",
            "purl": "pkg:deb/ubuntu/proftpd-dfsg?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.3.5d-1",
            "1.3.5e-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42167.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "proftpd-basic",
                "binary_version": "1.3.5e-1build1"
              },
              {
                "binary_name": "proftpd-mod-geoip",
                "binary_version": "1.3.5e-1build1"
              },
              {
                "binary_name": "proftpd-mod-ldap",
                "binary_version": "1.3.5e-1build1"
              },
              {
                "binary_name": "proftpd-mod-mysql",
                "binary_version": "1.3.5e-1build1"
              },
              {
                "binary_name": "proftpd-mod-odbc",
                "binary_version": "1.3.5e-1build1"
              },
              {
                "binary_name": "proftpd-mod-pgsql",
                "binary_version": "1.3.5e-1build1"
              },
              {
                "binary_name": "proftpd-mod-sqlite",
                "binary_version": "1.3.5e-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "proftpd-dfsg",
            "purl": "pkg:deb/ubuntu/proftpd-dfsg?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.3.6-6build2",
            "1.3.6c-1",
            "1.3.6c-2",
            "1.3.6c-2ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42167.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "proftpd-basic",
                "binary_version": "1.3.6c-2ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-geoip",
                "binary_version": "1.3.6c-2ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-ldap",
                "binary_version": "1.3.6c-2ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-mysql",
                "binary_version": "1.3.6c-2ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-odbc",
                "binary_version": "1.3.6c-2ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-pgsql",
                "binary_version": "1.3.6c-2ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-snmp",
                "binary_version": "1.3.6c-2ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-sqlite",
                "binary_version": "1.3.6c-2ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "proftpd-dfsg",
            "purl": "pkg:deb/ubuntu/proftpd-dfsg?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.3.7b+dfsg-1",
            "1.3.7c+dfsg-1build1",
            "1.3.7c+dfsg-1ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42167.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "proftpd-basic",
                "binary_version": "1.3.7c+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-core",
                "binary_version": "1.3.7c+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-crypto",
                "binary_version": "1.3.7c+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-geoip",
                "binary_version": "1.3.7c+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-ldap",
                "binary_version": "1.3.7c+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-mysql",
                "binary_version": "1.3.7c+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-odbc",
                "binary_version": "1.3.7c+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-pgsql",
                "binary_version": "1.3.7c+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-snmp",
                "binary_version": "1.3.7c+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-sqlite",
                "binary_version": "1.3.7c+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-wrap",
                "binary_version": "1.3.7c+dfsg-1ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "proftpd-dfsg",
            "purl": "pkg:deb/ubuntu/proftpd-dfsg?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.3.8+dfsg-8",
            "1.3.8.a+dfsg-1",
            "1.3.8.b+dfsg-1",
            "1.3.8.b+dfsg-1build1",
            "1.3.8.b+dfsg-1build2",
            "1.3.8.b+dfsg-1build3",
            "1.3.8.b+dfsg-1ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42167.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "proftpd-core",
                "binary_version": "1.3.8.b+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-crypto",
                "binary_version": "1.3.8.b+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-geoip",
                "binary_version": "1.3.8.b+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-ldap",
                "binary_version": "1.3.8.b+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-mysql",
                "binary_version": "1.3.8.b+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-odbc",
                "binary_version": "1.3.8.b+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-pgsql",
                "binary_version": "1.3.8.b+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-snmp",
                "binary_version": "1.3.8.b+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-sqlite",
                "binary_version": "1.3.8.b+dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "proftpd-mod-wrap",
                "binary_version": "1.3.8.b+dfsg-1ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "proftpd-dfsg",
            "purl": "pkg:deb/ubuntu/proftpd-dfsg?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.3.8.c+dfsg-2",
            "1.3.8.c+dfsg-4",
            "1.3.9~dfsg-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42167.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "proftpd-core",
                "binary_version": "1.3.9~dfsg-3"
              },
              {
                "binary_name": "proftpd-mod-crypto",
                "binary_version": "1.3.9~dfsg-3"
              },
              {
                "binary_name": "proftpd-mod-geoip",
                "binary_version": "1.3.9~dfsg-3"
              },
              {
                "binary_name": "proftpd-mod-ldap",
                "binary_version": "1.3.9~dfsg-3"
              },
              {
                "binary_name": "proftpd-mod-mysql",
                "binary_version": "1.3.9~dfsg-3"
              },
              {
                "binary_name": "proftpd-mod-odbc",
                "binary_version": "1.3.9~dfsg-3"
              },
              {
                "binary_name": "proftpd-mod-pgsql",
                "binary_version": "1.3.9~dfsg-3"
              },
              {
                "binary_name": "proftpd-mod-snmp",
                "binary_version": "1.3.9~dfsg-3"
              },
              {
                "binary_name": "proftpd-mod-sqlite",
                "binary_version": "1.3.9~dfsg-3"
              },
              {
                "binary_name": "proftpd-mod-wrap",
                "binary_version": "1.3.9~dfsg-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "proftpd-dfsg",
            "purl": "pkg:deb/ubuntu/proftpd-dfsg?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.3.9~dfsg-4",
            "1.3.9b~dfsg-1",
            "1.3.9d~dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42167.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "proftpd-core",
                "binary_version": "1.3.9d~dfsg-1"
              },
              {
                "binary_name": "proftpd-mod-crypto",
                "binary_version": "1.3.9d~dfsg-1"
              },
              {
                "binary_name": "proftpd-mod-geoip",
                "binary_version": "1.3.9d~dfsg-1"
              },
              {
                "binary_name": "proftpd-mod-ldap",
                "binary_version": "1.3.9d~dfsg-1"
              },
              {
                "binary_name": "proftpd-mod-mysql",
                "binary_version": "1.3.9d~dfsg-1"
              },
              {
                "binary_name": "proftpd-mod-odbc",
                "binary_version": "1.3.9d~dfsg-1"
              },
              {
                "binary_name": "proftpd-mod-pgsql",
                "binary_version": "1.3.9d~dfsg-1"
              },
              {
                "binary_name": "proftpd-mod-snmp",
                "binary_version": "1.3.9d~dfsg-1"
              },
              {
                "binary_name": "proftpd-mod-sqlite",
                "binary_version": "1.3.9d~dfsg-1"
              },
              {
                "binary_name": "proftpd-mod-wrap",
                "binary_version": "1.3.9d~dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "proftpd-dfsg",
            "purl": "pkg:deb/ubuntu/proftpd-dfsg?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.3.9~dfsg-3",
            "1.3.9~dfsg-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42167.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "proftpd-core",
                "binary_version": "1.3.9~dfsg-4"
              },
              {
                "binary_name": "proftpd-mod-crypto",
                "binary_version": "1.3.9~dfsg-4"
              },
              {
                "binary_name": "proftpd-mod-geoip",
                "binary_version": "1.3.9~dfsg-4"
              },
              {
                "binary_name": "proftpd-mod-ldap",
                "binary_version": "1.3.9~dfsg-4"
              },
              {
                "binary_name": "proftpd-mod-mysql",
                "binary_version": "1.3.9~dfsg-4"
              },
              {
                "binary_name": "proftpd-mod-odbc",
                "binary_version": "1.3.9~dfsg-4"
              },
              {
                "binary_name": "proftpd-mod-pgsql",
                "binary_version": "1.3.9~dfsg-4"
              },
              {
                "binary_name": "proftpd-mod-snmp",
                "binary_version": "1.3.9~dfsg-4"
              },
              {
                "binary_name": "proftpd-mod-sqlite",
                "binary_version": "1.3.9~dfsg-4"
              },
              {
                "binary_name": "proftpd-mod-wrap",
                "binary_version": "1.3.9~dfsg-4"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:54.488448070Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-42167"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-42167",
        "https://www.cve.org/CVERecord?id=CVE-2026-42167",
        "https://github.com/proftpd/proftpd/issues/2052"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-42167",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359161,
  "published_at": "2026-04-28T23:16:00+00:00"
}