> CVE-2026-73193

« BACK_TO_HOME
PUBLISHED
2026-08-15 13:17
MODIFIED
2026-08-15 13:17
EPSS (Prob. Exploit)
0.65%
Top 49.9%
DATA SOURCES:
NVD 🔗 2026-08-15 CWE MITRE 🔗 2026-09-01 FIRST EPSS 🔗 2026-10-18 OSV 🔗 2026-10-26

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> WEAKNESSES

CWE-190 CWE-787

> CWE DETAILED DESCRIPTIONS

CWE-190: Integer Overflow or Wraparound - The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number. | CWE-787: Out-of-bounds Write - The product writes data past the end, or before the beginning, of the intended buffer.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
55 versions affected
ALIASES:
GHSA-wj3v-c3hh-mhqr

> HISTORIQUE DES MODIFICATIONS

Première apparition
15/08/2026 13:17
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-190: Integer Overflow or Wraparound - The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will a...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/perl5-dbi/dbi/commit/c751ae5a5a6f56c2f8284f37c1f4d43500352ef1...
https://github.com/perl5-dbi/dbi/security/advisories/GHSA-wj3v-c3hh-mhqr
https://www.cve.org/CVERecord?id=CVE-2026-14739
« BACK_TO_HOME