PUBLISHED
2026-07-13 17:17
MODIFIED
2026-07-13 17:17
EPSS (Prob. Exploit)
0.21%
Top 88.7%
> DESCRIPTION
Perl versions through 5.43.10 have an integer overflow in S_measure_struct leading to an out-of-bounds heap read in pack and unpack.
S_measure_struct adds each item's size times its repeat count to a running total with no overflow check, so a large repeat count in a pack or unpack template wraps the signed SSize_t total negative. The @, X, and x position codes then guard their moves with a signed length comparison that passes when the length is negative, advancing the buffer pointer out of bounds.
A template derived from untrusted input can read heap memory past the buffer and return it to the caller.
> AFFECTED_PRODUCTS
ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.
> CWE DETAILED DESCRIPTIONS
CWE-125: Out-of-bounds Read - The product reads data past the end, or before the beginning, of the intended buffer. | 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.
> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)
Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.11 have an integer overflow in S_measure_struct leading to an out-of-bounds heap read in pack and unpack
AFFECTED PACKAGES:
Unknown / Unknown
231 versions affected
> HISTORIQUE DES MODIFICATIONS
Première apparition
13/07/2026 17:17
Source: NVD
📊
ENRICHISSEMENT
01/08/2026 06:01
CWE
Champ modifié: Description CWE
Nouvelle valeur:
CWE-125: Out-of-bounds Read - The product reads data past the end, or before the beginning, of the intended buffer. | CWE-190: Integer Overflow or Wraparound - The product performs a calculation that ...
Total des modifications: 1
Dernière mise à jour: 3 months ago