CVEfocus › CVE database › CVE-2026-78030

CVE-2026-78030DBI versions before 1.653 for Perl load arbitrary modules via unvalidated dbm_type and…

CVSS 9.8 CriticalEPSS 0.4% (higher than 28% of CVEs)Published 2026-09-19Updated 2026-09-20Assigner: CPANSec

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.

CWE-470

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
6Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libdbi-perlFix pendingUBUNTU-CVE-2026-78030
Ubuntu 26.04libdbi-perlFixed1.647-1ubuntu0.26.04.4UBUNTU-CVE-2026-78030
Ubuntu 24.04libdbi-perlFixed1.643-4ubuntu0.4UBUNTU-CVE-2026-78030
Ubuntu 22.04libdbi-perlFixed1.643-3ubuntu0.4UBUNTU-CVE-2026-78030
Ubuntu 20.04libdbi-perlFix pending1.643-1ubuntu0.1+esm4 (Ubuntu Pro)UBUNTU-CVE-2026-78030
Ubuntu 18.04libdbi-perlFix pending1.640-1ubuntu0.3+esm4 (Ubuntu Pro)UBUNTU-CVE-2026-78030
Ubuntu 16.04libdbi-perlFix pending1.634-1ubuntu0.2+esm5 (Ubuntu Pro)UBUNTU-CVE-2026-78030
Ubuntu 14.04libdbi-perlFix pending1.630-1ubuntu0.1~esm9 (Ubuntu Pro)UBUNTU-CVE-2026-78030
Debian 14libdbi-perlFixed1.653-1DEBIAN-CVE-2026-78030
Debian 13libdbi-perlFixed1.656-1~deb13u1DEBIAN-CVE-2026-78030
Debian 12libdbi-perlFixed1.643-4+deb12u3DEBIAN-CVE-2026-78030
Red Hat Enterprise Linux 10perl-DBIFixed
Affected
0:1.643-30.el10_3.3RHSA-2026:99209
Red Hat Enterprise Linux 9perl-DBIFixed
Affected
0:1.643-12.el9_9.3RHSA-2026:99208
Red Hat Enterprise Linux 8perl-DBIFixed
Affected
0:1.641-12.module+el8.10.0+25253+8e5064e3RHSA-2026:99162
Red Hat Enterprise Linux 7perl-DBIFix pending
Affected
Red Hat Enterprise Linux 6perl-DBIWill not fix
Out of support scope
AlmaLinux 10perl-DBIFixed1.643-30.el10_3.3ALSA-2026:99209
AlmaLinux 9perl-DBIFixed1.643-12.el9_9.3ALSA-2026:99208
AlmaLinux 8perl-DBIFixed1.641-5.el8_10ALSA-2026:99210
Rocky Linux 10perl-DBIFixed0:1.643-30.el10_3.3RLSA-2026:99209
Rocky Linux 9perl-DBIFixed0:1.643-12.el9_9.3RLSA-2026:99208
Rocky Linux 8perl-DBIFixed0:1.641-12.module+el8.10.0+40428+45c449b5RLSA-2026:99210

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to DBI version 1.653 or later, or apply the upstream patch.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.