DHI-z5ma-lrp3-zetz-zqam
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…
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-28
- Product
- Docker Hardened Images:Alpine:3.23 perl
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.
Fixed in
5.42.2-r2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.23 | perl | >=0, <5.42.2-r2 | 5.42.2-r2 |
Sources
- OSV · first seen 12d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-z5ma-lrp3-zetz-zqam advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-57432 advisory
- http://www.openwall.com/lists/oss-security/2026/07/13/6 advisory
- https://github.com/Perl/perl5/commit/5f7eb6bbbe0510964e3fb1d6bb691e5445913e55.patch fix
- https://github.com/Perl/perl5/commit/40754edc72dd3e513d758153c0e2f0215897740e.patch fix
- https://security.alpinelinux.org/vuln/CVE-2026-57432 advisory
- https://alas.aws.amazon.com/AL2/ALAS-2026-3997.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-57432 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-13221 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-3211.html advisory
- https://security-tracker.debian.org/tracker/CVE-2026-57432 advisory
- https://ubuntu.com/security/CVE-2026-57432 advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-57432 advisory