{"id":"DHI-z5ma-lrp3-zetz-zqam","aliases":[],"title":"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…","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"Docker Hardened Images:Alpine:3.23","name":"perl","range":">=0, <5.42.2-r2","fixed":"5.42.2-r2"}],"references":[{"url":"https://scout.docker.com/v/DHI-z5ma-lrp3-zetz-zqam","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57432","type":"advisory"},{"url":"http://www.openwall.com/lists/oss-security/2026/07/13/6","type":"advisory"},{"url":"https://github.com/Perl/perl5/commit/5f7eb6bbbe0510964e3fb1d6bb691e5445913e55.patch","type":"fix"},{"url":"https://github.com/Perl/perl5/commit/40754edc72dd3e513d758153c0e2f0215897740e.patch","type":"fix"},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-57432","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2/ALAS-2026-3997.html","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-57432","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-13221","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-3211.html","type":"advisory"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-57432","type":"advisory"},{"url":"https://ubuntu.com/security/CVE-2026-57432","type":"advisory"},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-57432","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-28T07:18:51.816Z","url":"https://osv.dev/vulnerability/DHI-z5ma-lrp3-zetz-zqam","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T16:37:20.932Z"}],"firstSeenAt":"2026-11-21T16:37:20.932Z","publishedAt":"2026-11-20T00:55:26.000Z","modifiedAt":"2026-11-28T06:30:06.461Z"}