CVEfocus › CVE database › CVE-2026-73193

CVE-2026-73193DBI versions before 1.652 for Perl allow a heap out-of-bounds write on 32-bit perl via…

CVSS 9.8 CriticalEPSS 0.6% (higher than 46% of CVEs)Published 2026-08-15Updated 2026-08-17Assigner: CPANSec

DBI versions before 1.652 for Perl allow a heap out-of-bounds write on 32-bit perl via an integer wraparound in the output buffer size computed by preparse. preparse reserves its output buffer with `newSV(strlen(statement) * 7 + 16)`, budgeting seven output bytes per input byte for the longest ':p99999' expansion. The product is computed in STRLEN, which is 32 bits wide on a 32-bit perl build, so a statement of 613,566,757 bytes multiplies to 4,294,967,299, wraps modulo 2^32 to 3, and reserves 19 bytes. The parser then copies the statement out through a raw pointer with no capacity check, writing the whole 585 MB input past the end of the allocation. The 99,999 placeholder limit does not bound this path, which is reached by ordinary non-placeholder content. Any caller that passes an untrusted statement of that length to preparse on a 32-bit perl gets a heap out-of-bounds write of attacker controlled bytes. Builds with a 64-bit STRLEN are not affected, since the wrap there needs a statement of about 2.3 exabytes.

CWE-190CWE-787

What to do

Fixed builds are available from Debian, 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

6Fixed
5Fix pending
1Will not fix
3Not affected

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.04libdbi-perlFixed1.647-1ubuntu0.26.04.3UBUNTU-CVE-2026-73193
Ubuntu 24.04libdbi-perlFixed1.643-4ubuntu0.3UBUNTU-CVE-2026-73193
Ubuntu 22.04libdbi-perlFixed1.643-3ubuntu0.3UBUNTU-CVE-2026-73193
Ubuntu 20.04libdbi-perlFix pending1.643-1ubuntu0.1+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-73193
Ubuntu 18.04libdbi-perlFix pending1.640-1ubuntu0.3+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-73193
Ubuntu 16.04libdbi-perlFix pending1.634-1ubuntu0.2+esm4 (Ubuntu Pro)UBUNTU-CVE-2026-73193
Ubuntu 14.04libdbi-perlFix pending1.630-1ubuntu0.1~esm8 (Ubuntu Pro)UBUNTU-CVE-2026-73193
Debian 14libdbi-perlFixed1.652-1DEBIAN-CVE-2026-73193
Debian 13libdbi-perlFixed1.652-2~deb13u1DEBIAN-CVE-2026-73193
Debian 12libdbi-perlFixed1.643-4+deb12u2DEBIAN-CVE-2026-73193
Red Hat Enterprise Linux 10perl-DBINot affected
Red Hat Enterprise Linux 9perl-DBINot affected
Red Hat Enterprise Linux 8perl-DBINot affected
Red Hat Enterprise Linux 7perl-DBIFix pending
Affected
Red Hat Enterprise Linux 6perl-DBIWill not fix
Out of support scope

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 1.652 or later.

Workaround: On 32-bit depoyments that cannot be upgraded, limit the size of SQL statements under 292 megabytes.

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.