CVE-2026-78030 DBI versions before 1.653 for Perl load arbitrary modules via unvalidated dbm_type and dbm_mldbm attributes in DBD::DBM
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
16 packages: 12 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libdbi-perl(Debian 13) | = 1.647-1; = 1.647-1+deb13u1; = 1.648-1; = 1.649-1 +8 more | No fix listed | No fix yet |
| redhat/perl-DBI(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/perl-DBI:1.641-8100020261102093731.69ef70f8(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| ubuntu/libdbi-perl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux perl-DBI(Azure Linux 3.0) | < 1.655-1 | 1.655-1 | Fixed |
| cpan DBI | < 1.653 | 1.653 | Fixed |
| debian/libdbi-perl(Debian 12) | < 1.643-4+deb12u3; = 1.643-4; = 1.643-4+deb12u1; = 1.643-4+deb12u2 | 1.643-4+deb12u3 | Fixed |
| debian/libdbi-perl(Debian 14) | < 1.653-1; = 1.647-1; = 1.648-1; = 1.649-1 +5 more | 1.653-1 | Fixed |
| redhat/perl-DBI(Red Hat enterprise_linux 10.3) | < 1.643-30.el10_3.3 | 1.643-30.el10_3.3 | Fixed |
| redhat/perl-DBI(Red Hat enterprise_linux 8) | < 1.641-5.el8_10 | 1.641-5.el8_10 | Fixed |
| redhat/perl-DBI(Red Hat enterprise_linux 9) | < 1.643-12.el9_9.3 | 1.643-12.el9_9.3 | Fixed |
| redhat/perl-DBI(Red Hat enterprise_linux_eus 10.2) | < 1.643-26.el10_2.8 | 1.643-26.el10_2.8 | Fixed |
| redhat/perl-DBI(Red Hat rhel_eus 9.8) | < 1.643-9.el9_8.8 | 1.643-9.el9_8.8 | Fixed |
| ubuntu/libdbi-perl(Ubuntu 22.04) | < 1.643-3ubuntu0.4 | 1.643-3ubuntu0.4 | Fixed |
| ubuntu/libdbi-perl(Ubuntu 24.04) | < 1.643-4ubuntu0.4 | 1.643-4ubuntu0.4 | Fixed |
| ubuntu/libdbi-perl(Ubuntu 26.04) | < 1.647-1ubuntu0.26.04.4 | 1.647-1ubuntu0.26.04.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cpan DBI | < 1.653 | 1.653 |
| debian/libdbi-perl(Debian:12) | < 1.643-4+deb12u3 | 1.643-4+deb12u3 |
| debian/libdbi-perl(Debian:12) | = 1.643-4 | No fix listed |
| debian/libdbi-perl(Debian:12) | = 1.643-4+deb12u1 | No fix listed |
| debian/libdbi-perl(Debian:12) | = 1.643-4+deb12u2 | No fix listed |
| debian/libdbi-perl(Debian:13) | All versions | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.647-1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.647-1+deb13u1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.648-1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.649-1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.650-1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.651-1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.652-1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.652-2 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.652-2~deb13u1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.653-1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.654-1 | No fix listed |
| debian/libdbi-perl(Debian:14) | < 1.653-1 | 1.653-1 |
| debian/libdbi-perl(Debian:14) | = 1.647-1 | No fix listed |
| debian/libdbi-perl(Debian:14) | = 1.648-1 | No fix listed |
| debian/libdbi-perl(Debian:14) | = 1.649-1 | No fix listed |
| debian/libdbi-perl(Debian:14) | = 1.650-1 | No fix listed |
| debian/libdbi-perl(Debian:14) | = 1.651-1 | No fix listed |
| debian/libdbi-perl(Debian:14) | = 1.652-1 | No fix listed |
| debian/libdbi-perl(Debian:14) | = 1.652-2 | No fix listed |
Show 14 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libdbi-perl(Debian:14) | = 1.652-2~deb13u1 | No fix listed |
| ubuntu/libdbi-perl(Ubuntu:22.04) | < 1.643-3ubuntu0.4 | 1.643-3ubuntu0.4 |
| ubuntu/libdbi-perl(Ubuntu:24.04) | < 1.643-4ubuntu0.4 | 1.643-4ubuntu0.4 |
| ubuntu/libdbi-perl(Ubuntu:26.04) | < 1.647-1ubuntu0.26.04.4 | 1.647-1ubuntu0.26.04.4 |
| ubuntu/libdbi-perl(Ubuntu:26.10) | All versions | No fix listed |
| redhat/perl-DBI(Red Hat:enterprise_linux:10.3) | < 1.643-30.el10_3.3 | 1.643-30.el10_3.3 |
| redhat/perl-DBI(Red Hat:enterprise_linux_eus:10.2) | < 1.643-26.el10_2.8 | 1.643-26.el10_2.8 |
| redhat/perl-DBI:1.641-8100020261102093731.69ef70f8(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/perl-DBI(Red Hat:enterprise_linux:8) | < 1.641-5.el8_10 | 1.641-5.el8_10 |
| redhat/perl-DBI(Red Hat:enterprise_linux:9) | < 1.643-12.el9_9.3 | 1.643-12.el9_9.3 |
| redhat/perl-DBI(Red Hat:rhel_eus:9.8) | < 1.643-9.el9_8.8 | 1.643-9.el9_8.8 |
| redhat/perl-DBI(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/perl-DBI(Red Hat:rhel_els:7) | All versions | No fix listed |
| azure linux perl-DBI(Azure Linux:3.0) | < 1.655-1 | 1.655-1 |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2538843 issue-tracking
- www.cve.org
- nvd.nist.gov
- www.openwall.com
- github.com patch
- github.com vendor-advisory
- metacpan.org release-notes
- Debian Security Tracker CVE-2026-78030 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8912-1 vendor-advisory
- RHSA-2026:99120 patch vendor-advisory
- RHSA-2026:99162 patch vendor-advisory
- RHSA-2026:99209 patch vendor-advisory
- RHSA-2026:99210 patch vendor-advisory
- RHSA-2026:99208 patch vendor-advisory
- RHSA-2026:99121 patch vendor-advisory