CVE-2026-78030
Reported by cpansec · Published September 19, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perl-DBI | Amazon Linux | 1.653-1.amzn2023.0.1, 1.627-4.amzn2.0.8 |
| perl-DBI-debuginfo | errata.rockylinux.org | 0:1.643-30.el10_3.3.x86_64, 0:1.643-30.el10_3.3.s390x, 0:1.643-30.el10_3.3.ppc64le, 0:1.643-30.el10_3.3.aarch64 |
| perl-DBI | errata.rockylinux.org | 0:1.643-30.el10_3.3.x86_64, 0:1.643-30.el10_3.3.src, 0:1.643-30.el10_3.3.s390x, 0:1.643-30.el10_3.3.ppc64le, 0:1.643-30.el10_3.3.aarch64 |
| perl-DBI-tests | Amazon Linux | 1.653-1.amzn2023.0.1 |
| perl-DBI-debugsource | errata.rockylinux.org | 0:1.643-30.el10_3.3.x86_64, 0:1.643-30.el10_3.3.s390x, 0:1.643-30.el10_3.3.ppc64le, 0:1.643-30.el10_3.3.aarch64 |
| DBI | cpan.org | 1.653 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| amazon:2023 | perl-DBI | 0 |
| amazon:2 | perl-DBI | 0 |
| amazon:2023 | perl-DBI-tests | 0 |
| 0 |
Timeline
- Sep 11, 2026 CVE Published
- Sep 19, 2026 CVE Updated
- Sep 20, 2026 EPSS Score (25 in total, the first dated here)
- Nov 15, 2026 Distribution Patch (7 in total, the first dated here)
- Nov 15, 2026 Security Advisory (7 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-78030
vulnetix vdb fixes CVE-2026-78030
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-78030/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- release-notes
- patch
- vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/09/19/4 url