CVE-2026-57432: Perl - Integer Overflow
- Cve: CVE-2026-57432
- Name: Perl - Integer Overflow
- 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.
- Impact: Attackers can read heap memory beyond intended buffer, potentially exposing sensitive information.
- Remediation: Update to the latest Perl version beyond 5.43.10.
- Vulnerability type: integer_overflow
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.4
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00213
- Epss percentile: 0.11428
- Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
- Published at: 2026-07-13T17:17:55Z
- Age in days: 134
- Modified at: 2026-11-10T13:19:28Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-57432
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| perl:perl | <= 5.43.10 | no | nvd | /v1/products/perl/perl |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Perl/perl5 | commit, fix | yes | /v1/repositories/Perl/perl5 |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exposed hosts: 2464272
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports