CVE-2026-57432: perl Out-of-bounds Read
Vulnerability summary
CVE-2026-57432 is a high (CVSS 8.4) Out-of-bounds Read vulnerability in perl. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 12 · Related 11Timeline
- 13-07-2026PublishedVulnerability first disclosed.
- 08-09-2026Last modifiedVulnerability information updated.
Description
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. 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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
0.00 pp
From 0.21% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-125Out-of-bounds ReadThe product reads data past the end, or before the beginning, of the intended buffer.
- CWE-190Integer Overflow or WraparoundThe 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.
Affected systems
Chainguard5 products
- miniperl< 5.44.0-r0
- perl< 5.44.0-r0
- perl-dev< 5.44.0-r0
- perl-doc< 5.44.0-r0
- perl-utils< 5.44.0-r0
Wolfi5 products
- miniperl< 5.44.0-r0
- perl< 5.44.0-r0
- perl-dev< 5.44.0-r0
- perl-doc< 5.44.0-r0
- perl-utils< 5.44.0-r0
Debian1 product
- perl< 5.36.0-7+deb12u4 | < 5.40.1-6+deb13u1 | < 5.40.1-8
Perl1 product
- perl≤ 5.43.10
Ubuntu1 product
- perl< 5.18.2-2ubuntu1.7+esm8 | < 5.22.1-9ubuntu0.9+esm3 | < 5.26.1-6ubuntu0.7+esm3 | < 5.30.0-9ubuntu0.5+esm3 | < 5.34.0-3ubuntu1.8 | < 5.38.2-3.2ubuntu0.4 | < 5.40.1-7ubuntu0.3
5 vendors · 13 products
References
14 linksShow all 14 references
- github.com/Perl/perl5PACKAGE