CVE-2026-73193
published critical CVSS 3.1 · 9.8DBI 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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | DBI0 to < 1.652 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | perl-dbi | Fixed | 1.654-r0 | Package fix record |
| Debian | bookworm | libdbi-perl | Advisory build | 1.643-4+deb12u2 | DLA-4764-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-DBIaarch64 | Advisory build | 1.653.0-1.1 | OPENSUSE-SU-2026:11754-1 |
| Ubuntu | bionic | libdbi-perl | Advisory build | 1.640-1ubuntu0.3+esm3 | USN-8841-1 |
| Debian | bullseye | libdbi-perl | Advisory build | 1.643-3+deb11u2 | DLA-4764-1 |
Show 10 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | trixie | libdbi-perl | Advisory build | 1.652-2~deb13u1 | DSA-6473-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-DBIppc64le | Advisory build | 1.653.0-1.1 | OPENSUSE-SU-2026:11754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-DBIs390x | Advisory build | 1.653.0-1.1 | OPENSUSE-SU-2026:11754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-DBIx86_64 | Advisory build | 1.653.0-1.1 | OPENSUSE-SU-2026:11754-1 |
| Ubuntu | focal | libdbi-perl | Advisory build | 1.643-1ubuntu0.1+esm3 | USN-8841-1 |
| Ubuntu | jammy | libdbi-perl | Advisory build | 1.643-3ubuntu0.3 | USN-8841-1 |
| Ubuntu | noble | libdbi-perl | Advisory build | 1.643-4ubuntu0.3 | USN-8841-1 |
| Ubuntu | resolute | libdbi-perl | Advisory build | 1.647-1ubuntu0.26.04.3 | USN-8841-1 |
| Ubuntu | trusty | libdbi-perl | Advisory build | 1.630-1ubuntu0.1~esm8 | USN-8841-1 |
| Ubuntu | xenial | libdbi-perl | Advisory build | 1.634-1ubuntu0.2+esm4 | USN-8841-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| DBI | 0 to < 1.652 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-190 CWE-190 Integer Overflow or Wraparound
- CWE-787 CWE-787 Out-of-bounds Write
References
3Provider assertions
2CPANSec · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 952682d1fc7ca0e4d9b9569cdf964cb19b49f40c8e8e2db2a0c0c3ce1f431053
- Ingested
- 23 Sep 2026, 09:30:42 UTC
- Source record
- Official CVE record