CVE Explorer
CVE-2026-57432
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 boun
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f863e2ee73b1bdbbffd230707f5530bb6469a19976b2680991dabeeb90ce677 · sha256:57f14c67a9096775… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f863e2ee73b1bdbbffd230707f5530bb6469a19976b2680991dabeeb90ce677 · sha256:57f14c67a9096775… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"perl","product":"perl","programFiles":["pp_pack.c"],"programRoutines":[{"name":"S_measure_struct"}],"repo":"https://github.com/Perl/perl5","vendor":"SHAY","versions":[{"lessThanOrEqual":"5.43.10","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2f863e2ee73b1bdbbffd230707f5530bb6469a19976b2680991dabeeb90ce677 · sha256:57f14c67a9096775… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2f863e2ee73b1bdbbffd230707f5530bb6469a19976b2680991dabeeb90ce677 · sha256:57f14c67a9096775… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f863e2ee73b1bdbbffd230707f5530bb6469a19976b2680991dabeeb90ce677 · sha256:57f14c67a9096775… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f863e2ee73b1bdbbffd230707f5530bb6469a19976b2680991dabeeb90ce677 · sha256:57f14c67a9096775… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/07/13/6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f863e2ee73b1bdbbffd230707f5530bb6469a19976b2680991dabeeb90ce677 · sha256:57f14c67a9096775… · /containers/adp/0/references/0
{"tags":["patch"],"url":"https://github.com/Perl/perl5/commit/40754edc72dd3e513d758153c0e2f0215897740e.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f863e2ee73b1bdbbffd230707f5530bb6469a19976b2680991dabeeb90ce677 · sha256:57f14c67a9096775… · /containers/cna/references/1
{"tags":["patch"],"url":"https://github.com/Perl/perl5/commit/5f7eb6bbbe0510964e3fb1d6bb691e5445913e55.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f863e2ee73b1bdbbffd230707f5530bb6469a19976b2680991dabeeb90ce677 · sha256:57f14c67a9096775… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.