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...
Description
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 th
AI Analyst Comment
Remediation
Update SHAY perl to the latest version. Monitor for exploitation attempts and review access logs.
---METADATA---
VENDOR: SHAY
PRODUCT: perl
AFFECTED_VERSIONS: Perl versions through 5.43.10
CONFIDENCE: high
MISSING: none
---END_METADATA---
Description Summary:
Perl versions through 5.43.10 contain an integer overflow in S_measure_struct, which can lead to an out-of-bounds heap read during pack and unpack operations.
Executive Summary:
An integer overflow vulnerability in Perl's pack and unpack functions allows for potential out-of-bounds heap memory reads, impacting system security.
Vulnerability Details
CVE-ID: CVE-2026-57432
Affected Software: SHAY perl
Affected Versions: Perl versions through 5.43.10
Vulnerability: The vulnerability is an integer overflow in S_measure_struct, which lacks proper validation for repeat counts in pack or unpack templates. This allows an attacker to wrap a signed integer total, leading to an out-of-bounds heap read. The vulnerability requires no authentication.
Business Impact
With a CVSS score of 8.4, this vulnerability is classified as high severity. An attacker could leverage this flaw to read sensitive heap memory, potentially exposing confidential data or assisting in further exploitation efforts. The impact is significant for environments where Perl processes untrusted input.
Remediation Plan
Immediate Action: Upgrade to the Perl 5.43.11 development release or apply the upstream patches provided by the vendor.
Proactive Monitoring: Monitor for application crashes or abnormal memory usage patterns in software that utilizes Perl's pack or unpack functionality on untrusted data.
Compensating Controls: Implement input validation to sanitize data passed into pack or unpack templates, limiting the potential for triggering overflow conditions.
Exploitation Status
Public Exploit Available: No confirmed public exploit (weaponized or curated PoC) is available in the provided data.
Analyst Notes: As of July 17, 2026, there is no public information indicating active exploitation or a public proof-of-concept for this vulnerability. The flaw is complex to exploit but poses a serious risk to data confidentiality.
Analyst Recommendation
Security teams should prioritize updating Perl to version 5.43.11 to remediate this integer overflow flaw. Patching is necessary to ensure the integrity of memory operations and to protect against potential information disclosure attacks.