CVE-2026-73194DBI versions before 1.652 for Perl allow a heap out-of-bounds write via an unvalidated…
DBI versions before 1.652 for Perl allow a heap out-of-bounds write via an unvalidated numeric placeholder that sets the binder counter in preparse. preparse reserves seven output bytes per input byte, the width of the longest ':p99999' expansion. The ':N' branch parses the number with `atoi(src)` and assigns it to the binder counter with no range check, so a statement containing ':2147483648' leaves the counter negative (-2147483648 with glibc, where atoi wraps). Each following '?' then expands through `sprintf(start, ":p%d", idx++)` to ':p-2147483648', 14 bytes with the terminating NUL where the buffer budgets 7. The placeholder limit added in 1.650 tests the counter against 99,999, which a negative counter passes. Any caller that preparses an untrusted statement into ':pN' style placeholders gets a heap out-of-bounds write that grows with the number of '?' marks following the poisoned placeholder. The '?' and '%s' return styles compare the parsed number against the expected sequence and error out, and are unaffected.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libdbi-perl | Fixed | 1.647-1ubuntu0.26.04.3 | UBUNTU-CVE-2026-73194 |
| Ubuntu 24.04 | libdbi-perl | Fixed | 1.643-4ubuntu0.3 | UBUNTU-CVE-2026-73194 |
| Ubuntu 22.04 | libdbi-perl | Fixed | 1.643-3ubuntu0.3 | UBUNTU-CVE-2026-73194 |
| Ubuntu 20.04 | libdbi-perl | Fix pending | 1.643-1ubuntu0.1+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-73194 |
| Ubuntu 18.04 | libdbi-perl | Fix pending | 1.640-1ubuntu0.3+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-73194 |
| Ubuntu 16.04 | libdbi-perl | Fix pending | 1.634-1ubuntu0.2+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-73194 |
| Ubuntu 14.04 | libdbi-perl | Fix pending | 1.630-1ubuntu0.1~esm8 (Ubuntu Pro) | UBUNTU-CVE-2026-73194 |
| Debian 14 | libdbi-perl | Fixed | 1.652-1 | DEBIAN-CVE-2026-73194 |
| Debian 13 | libdbi-perl | Fixed | 1.652-2~deb13u1 | DEBIAN-CVE-2026-73194 |
| Debian 12 | libdbi-perl | Fixed | 1.643-4+deb12u2 | DEBIAN-CVE-2026-73194 |
| Red Hat Enterprise Linux 10 | perl-DBI | Fixed | 0:1.643-26.el10_2.6 | RHSA-2026:70753 |
| Red Hat Enterprise Linux 9 | perl-DBI | Fixed | 0:1.643-9.el9_8.6 | RHSA-2026:71422 |
| Red Hat Enterprise Linux 8 | perl-DBI | Fixed | 0:1.641-3.el8_10 | RHSA-2026:69112 |
| Red Hat Enterprise Linux 7 | perl-DBI | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | perl-DBI | Will not fix Out of support scope | ||
| AlmaLinux 10 | perl-DBI | Fixed | 1.643-26.el10_2.6 | ALSA-2026:70753 |
| AlmaLinux 9 | perl-DBI | Fixed | 1.643-9.el9_8.6 | ALSA-2026:71422 |
| AlmaLinux 8 | perl-DBI | Fixed | 1.641-10.module_el8.10.0+4282+4ee1dbd0 | ALSA-2026:71608 |
| Rocky Linux 10 | perl-DBI | Fixed | 0:1.643-26.el10_2.6 | RLSA-2026:70753 |
| Rocky Linux 9 | perl-DBI | Fixed | 0:1.643-9.el9_8.6 | RLSA-2026:71422 |
| Rocky Linux 8 | perl-DBI | Fixed | 0:1.641-10.module+el8.10.0+40328+f4c7f87b | RLSA-2026:69112 |
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.
- DBI: affected: before 1.652; fixed in
1.652
Solution: Upgrade to DBI 1.652 or later.
Workaround: For deployments that cannot be upgraded, limit SQL statements to 99,999 placeholders.
Vendor advisories:
- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-623j-hfpc-mrc4 (vendor-advisory)
- https://github.com/perl5-dbi/dbi/commit/29b72ae7d2a8114a734a55840bf1c45b89207809.patch (patch)
References
- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-623j-hfpc-mrc4
- https://github.com/perl5-dbi/dbi/commit/29b72ae7d2a8114a734a55840bf1c45b89207809.patch
- https://www.cve.org/CVERecord?id=CVE-2026-14739
- https://www.cve.org/CVERecord?id=CVE-2026-10879
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.