Skip to content
Heist/ feed
Back to feed
CriticalFix available

libdbi-perl — security advisory

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

DBI versions before 1.653 for Perl load arbitrary modules via unvalidated dbm_type and dbm_mldbm attributes in DBD::DBM. DBD::DBM passes the dbm_type and dbm_mldbm connect attributes to require without checking that the value names a module. require treats a path-shaped string as a literal filename and does not consult @INC, so the attribute chooses the file that Perl loads and runs. The MLDBM::Serializer:: prefix that DBD::DBM prepends to dbm_mldbm is not a boundary: only the :: separators are rewritten to /, so a value containing / traverses out of the serializer directory. The value is also assigned to $MLDBM::Serializer, which MLDBM requires the same way when it ties the table. A caller that lets an untrusted party influence either attribute, for example through a DSN fragment or a parameter that selects a storage backend, runs the file-scope code of whatever module the value names. For example, my $dsn = "dbi:DBM:f_dir=/var/db;dbm_type=../../Untrusted.pm" my $dbh = DBI->connect( $dsn ); Note that DBD::Gofer forwards connect attributes to the server side, and DBI::ProxyServer checks only that a DSN starts with a driver prefix.

Products
libdbi-perl
Affected versions
1.627-1, 1.628-1, 1.630-1, 1.630-1ubuntu0.1~esm1, 1.630-1ubuntu0.1~esm4, 1.630-1ubuntu0.1~esm5, 1.630-1ubuntu0.1~esm6, 1.630-1ubuntu0.1~esm8, 1.633-1, 1.634-1, 1.634-1build1, 1.634-1ubuntu0.1, 1.634-1ubuntu0.2, 1.634-1ubuntu0.2+esm1, 1.634-1ubuntu0.2+esm2, 1.634-1ubuntu0.2+esm4, 1.637-1, 1.639-1, 1.640-1, 1.640-1ubuntu0.1, 1.640-1ubuntu0.2, 1.640-1ubuntu0.3, 1.640-1ubuntu0.3+esm1, 1.640-1ubuntu0.3+esm3, 1.642-1, 1.642-1build1, 1.643-1, 1.643-1ubuntu0.1, 1.643-1ubuntu0.1+esm1, 1.643-1ubuntu0.1+esm3, 1.643-3build2, 1.643-3build3, 1.643-3ubuntu0.1, 1.643-3ubuntu0.3, 1.643-4, 1.643-4build1, 1.643-4build2, 1.643-4build3, 1.643-4ubuntu0.1, 1.643-4ubuntu0.3, 1.647-1, 1.647-1build1, 1.647-1ubuntu0.26.04.1, 1.647-1ubuntu0.26.04.3, 1.648-1, 1.651-1, 1.652-2
Fixed versions
1.630-1ubuntu0.1~esm9, 1.634-1ubuntu0.2+esm5, 1.640-1ubuntu0.3+esm4, 1.643-1ubuntu0.1+esm4, 1.643-3ubuntu0.4, 1.643-4ubuntu0.4, 1.647-1ubuntu0.26.04.4
CVEs
CVE-2026-78030
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:19 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-78030

core-osv · Original source

Published 19 Sept 2026, 11:16 UTC

DBI versions before 1.653 for Perl load arbitrary modules via unvalidated dbm_type and dbm_mldbm attributes in DBD::DBM. DBD::DBM passes the dbm_type and dbm_mldbm connect attributes to require without checking that the value names a module. require treats a path-shaped string as a literal filename and does not consult @INC, so the attribute chooses the file that Perl loads and runs. The MLDBM::Serializer:: prefix that DBD::DBM prepends to dbm_mldbm is not a boundary: only the :: separators are rewritten to /, so a value containing / traverses out of the serializer directory. The value is also assigned to $MLDBM::Serializer, which MLDBM requires the same way when it ties the table. A caller that lets an untrusted party influence either attribute, for example through a DSN fragment or a parameter that selects a storage backend, runs the file-scope code of whatever module the value names. For example, my $dsn = "dbi:DBM:f_dir=/var/db;dbm_type=../../Untrusted.pm" my $dbh = DBI->connect( $dsn ); Note that DBD::Gofer forwards connect attributes to the server side, and DBI::ProxyServer checks only that a DSN starts with a driver prefix.

osv:UBUNTU-CVE-2026-78030

libdbi-perl

Fixed versions: 1.630-1ubuntu0.1~esm9

libdbi-perl

Fixed versions: 1.634-1ubuntu0.2+esm5

libdbi-perl

Fixed versions: 1.640-1ubuntu0.3+esm4

libdbi-perl

Fixed versions: 1.643-1ubuntu0.1+esm4

libdbi-perl

Fixed versions: 1.643-3ubuntu0.4

libdbi-perl

Fixed versions: 1.643-4ubuntu0.4

libdbi-perl

Fixed versions: Not specified

libdbi-perl

Fixed versions: 1.647-1ubuntu0.26.04.4

Complete source record
{
  "id": "cbf18b9a534b9ae3413d93908345a86214312861c39aada347b275c5050da997",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-78030",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-78030",
    "summary": "DBI versions before 1.653 for Perl load arbitrary modules via unvalidated dbm_type and dbm_mldbm attributes in DBD::DBM. DBD::DBM passes the dbm_type and dbm_mldbm connect attributes to require without checking that the value names a module. require treats a path-shaped string as a literal filename and does not consult @INC, so the attribute chooses the file that Perl loads and runs. The MLDBM::Serializer:: prefix that DBD::DBM prepends to dbm_mldbm is not a boundary: only the :: separators are rewritten to /, so a value containing / traverses out of the serializer directory. The value is also assigned to $MLDBM::Serializer, which MLDBM requires the same way when it ties the table. A caller that lets an untrusted party influence either attribute, for example through a DSN fragment or a parameter that selects a storage backend, runs the file-scope code of whatever module the value names. For example, my $dsn = \"dbi:DBM:f_dir=/var/db;dbm_type=../../Untrusted.pm\" my $dbh = DBI->connect( $dsn ); Note that DBD::Gofer forwards connect attributes to the server side, and DBI::ProxyServer checks only that a DSN starts with a driver prefix.",
    "evidence": "osv:UBUNTU-CVE-2026-78030",
    "products": [
      {
        "name": {
          "value": "libdbi-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.630-1ubuntu0.1~esm9",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.627-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.628-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.630-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.630-1ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.630-1ubuntu0.1~esm4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.630-1ubuntu0.1~esm5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.630-1ubuntu0.1~esm6",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.630-1ubuntu0.1~esm8",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdbi-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.634-1ubuntu0.2+esm5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.633-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.634-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.634-1build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.634-1ubuntu0.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.634-1ubuntu0.2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.634-1ubuntu0.2+esm1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.634-1ubuntu0.2+esm2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.634-1ubuntu0.2+esm4",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdbi-perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.640-1ubuntu0.3+esm4",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.637-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.639-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.640-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.640-1ubuntu0.1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.640-1ubuntu0.2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.640-1ubuntu0.3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.640-1ubuntu0.3+esm1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.640-1ubuntu0.3+esm3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdbi-perl",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.643-1ubuntu0.1+esm4",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.642-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.642-1build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.643-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.643-1ubuntu0.1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.643-1ubuntu0.1+esm1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.643-1ubuntu0.1+esm3",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdbi-perl",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.643-3ubuntu0.4",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.643-3build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.643-3build3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.643-3ubuntu0.1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.643-3ubuntu0.3",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdbi-perl",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.643-4ubuntu0.4",
            "evidence": "/affected/5/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.643-4",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.643-4build1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.643-4build2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.643-4build3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.643-4ubuntu0.1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.643-4ubuntu0.3",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdbi-perl",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.647-1build1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.648-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.651-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.652-2",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libdbi-perl",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.647-1ubuntu0.26.04.4",
            "evidence": "/affected/7/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.647-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.647-1build1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.647-1ubuntu0.26.04.1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.647-1ubuntu0.26.04.3",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2026-78030",
      "aliases": [
        "UBUNTU-CVE-2026-78030"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.630-1ubuntu0.1~esm9"
                }
              ]
            }
          ],
          "package": {
            "name": "libdbi-perl",
            "purl": "pkg:deb/ubuntu/libdbi-perl?arch=source&distro=esm-infra-legacy%2Ftrusty",
            "ecosystem": "Ubuntu:Pro:14.04:LTS"
          },
          "versions": [
            "1.627-1",
            "1.628-1",
            "1.630-1",
            "1.630-1ubuntu0.1~esm1",
            "1.630-1ubuntu0.1~esm4",
            "1.630-1ubuntu0.1~esm5",
            "1.630-1ubuntu0.1~esm6",
            "1.630-1ubuntu0.1~esm8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78030.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdbi-perl",
                "binary_version": "1.630-1ubuntu0.1~esm9"
              }
            ],
            "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.634-1ubuntu0.2+esm5"
                }
              ]
            }
          ],
          "package": {
            "name": "libdbi-perl",
            "purl": "pkg:deb/ubuntu/libdbi-perl?arch=source&distro=esm-infra-legacy%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "1.633-1",
            "1.634-1",
            "1.634-1build1",
            "1.634-1ubuntu0.1",
            "1.634-1ubuntu0.2",
            "1.634-1ubuntu0.2+esm1",
            "1.634-1ubuntu0.2+esm2",
            "1.634-1ubuntu0.2+esm4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78030.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdbi-perl",
                "binary_version": "1.634-1ubuntu0.2+esm5"
              }
            ],
            "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.640-1ubuntu0.3+esm4"
                }
              ]
            }
          ],
          "package": {
            "name": "libdbi-perl",
            "purl": "pkg:deb/ubuntu/libdbi-perl?arch=source&distro=esm-infra%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1.637-1",
            "1.639-1",
            "1.640-1",
            "1.640-1ubuntu0.1",
            "1.640-1ubuntu0.2",
            "1.640-1ubuntu0.3",
            "1.640-1ubuntu0.3+esm1",
            "1.640-1ubuntu0.3+esm3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78030.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdbi-perl",
                "binary_version": "1.640-1ubuntu0.3+esm4"
              }
            ],
            "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.643-1ubuntu0.1+esm4"
                }
              ]
            }
          ],
          "package": {
            "name": "libdbi-perl",
            "purl": "pkg:deb/ubuntu/libdbi-perl?arch=source&distro=esm-infra%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "1.642-1",
            "1.642-1build1",
            "1.643-1",
            "1.643-1ubuntu0.1",
            "1.643-1ubuntu0.1+esm1",
            "1.643-1ubuntu0.1+esm3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78030.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdbi-perl",
                "binary_version": "1.643-1ubuntu0.1+esm4"
              }
            ],
            "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.643-3ubuntu0.4"
                }
              ]
            }
          ],
          "package": {
            "name": "libdbi-perl",
            "purl": "pkg:deb/ubuntu/libdbi-perl?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.643-3build2",
            "1.643-3build3",
            "1.643-3ubuntu0.1",
            "1.643-3ubuntu0.3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78030.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdbi-perl",
                "binary_version": "1.643-3ubuntu0.4"
              }
            ],
            "availability": "No subscription required"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.643-4ubuntu0.4"
                }
              ]
            }
          ],
          "package": {
            "name": "libdbi-perl",
            "purl": "pkg:deb/ubuntu/libdbi-perl?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.643-4",
            "1.643-4build1",
            "1.643-4build2",
            "1.643-4build3",
            "1.643-4ubuntu0.1",
            "1.643-4ubuntu0.3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78030.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdbi-perl",
                "binary_version": "1.643-4ubuntu0.4"
              }
            ],
            "availability": "No subscription required"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libdbi-perl",
            "purl": "pkg:deb/ubuntu/libdbi-perl?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.647-1build1",
            "1.648-1",
            "1.651-1",
            "1.652-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78030.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdbi-perl",
                "binary_version": "1.652-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.647-1ubuntu0.26.04.4"
                }
              ]
            }
          ],
          "package": {
            "name": "libdbi-perl",
            "purl": "pkg:deb/ubuntu/libdbi-perl?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.647-1",
            "1.647-1build1",
            "1.647-1ubuntu0.26.04.1",
            "1.647-1ubuntu0.26.04.3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-78030.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libdbi-perl",
                "binary_version": "1.647-1ubuntu0.26.04.4"
              }
            ],
            "availability": "No subscription required"
          }
        }
      ],
      "modified": "2026-10-17T13:01:08.819900722Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-78030"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-78030",
        "https://www.cve.org/CVERecord?id=CVE-2026-78030",
        "https://ubuntu.com/security/notices/USN-8912-1"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-78030",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 361067,
  "published_at": "2026-09-19T11:16:00+00:00"
}