cve.bz

CVE-2026-57432 perl perl: Out-of-bounds Read

8.4 highEPSS 0.2%Fix available

High (8.4) in perl perl. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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 3.1

8.4 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 12th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-07-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-125 Out-of-bounds Read
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
Assigned by
CPANSec (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-57432 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-57432?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-57432?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-57432 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
perl:perlthrough 5.43.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12perl5.36.0-7+deb12u4DEBIAN-CVE-2026-57432 DLA-4821-1
Debian13perl5.40.1-6+deb13u1DEBIAN-CVE-2026-57432
Debian14perl5.40.1-8DEBIAN-CVE-2026-57432
Ubuntu22.04:LTSperl5.34.0-3ubuntu1.8UBUNTU-CVE-2026-57432 USN-8675-1
Ubuntu24.04:LTSperl5.38.2-3.2ubuntu0.4UBUNTU-CVE-2026-57432 USN-8684-1
Ubuntu26.04:LTSperl5.40.1-7ubuntu0.3UBUNTU-CVE-2026-57432 USN-8675-2
UbuntuPro:14.04:LTSperl5.18.2-2ubuntu1.7+esm8UBUNTU-CVE-2026-57432 USN-8675-1
UbuntuPro:16.04:LTSperl5.22.1-9ubuntu0.9+esm3UBUNTU-CVE-2026-57432 USN-8675-1
UbuntuPro:18.04:LTSperl5.26.1-6ubuntu0.7+esm3UBUNTU-CVE-2026-57432 USN-8675-1
UbuntuPro:20.04:LTSperl5.30.0-9ubuntu0.5+esm3UBUNTU-CVE-2026-57432 USN-8675-1
Red Hathummingbird:1perl, perl-libs, perl-devel and 4 more4:5.42.2-524.3.hum1RHSA-2026:39997
Red Hathummingbird:1perl-AutoSplit, perl-AutoLoader0:5.74-524.3.hum1RHSA-2026:39997
Red Hathummingbird:1perl-B0:1.89-524.3.hum1RHSA-2026:39997
Red Hathummingbird:1perl-Benchmark, perl-Hash-Util-FieldHash0:1.27-524.3.hum1RHSA-2026:39997
Red Hathummingbird:1perl-Class-Struct0:0.68-524.3.hum1RHSA-2026:39997
Red Hathummingbird:1perl-DBM_Filter0:0.07-524.3.hum1RHSA-2026:39997
Red Hathummingbird:1perl-Devel-Peek0:1.36-524.3.hum1RHSA-2026:39997
Red Hathummingbird:1perl-Devel-SelfStubber0:1.06-524.3.hum1RHSA-2026:39997
Red Hathummingbird:1perl-DynaLoader0:1.57-524.3.hum1RHSA-2026:39997
Red Hathummingbird:1perl-English, perl-autouse0:1.11-524.3.hum1RHSA-2026:39997
Red Hathummingbird:1perl-Errno0:1.38-524.3.hum1RHSA-2026:39997
Red Hathummingbird:1perl-ExtUtils-Constant0:0.25-524.3.hum1RHSA-2026:39997
56 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 13 moreperl5.26.1-150300.17.23.1SUSE-SU-2026:3558-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5perl5.18.2-12.35.1SUSE-SU-2026:3540-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0perl5.42.0-160000.3.1SUSE-SU-2026:22847-1
SUSELinux Micro 6.0perl5.38.2-5.1SUSE-SU-2026:23008-1
SUSELinux Micro 6.1perl5.38.2-slfo.1.1_3.1SUSE-SU-2026:23075-1
SUSELinux Micro 6.2perl5.42.0-160000.3.1SUSE-SU-2026:22929-1
openSUSELeap 16.0perl5.42.0-160000.3.1openSUSE-SU-2026:21411-1
Alpinev3.24perl5.42.3-r0ALPINE-CVE-2026-57432
Azure Linux3perl5.38.2-514AZL-92297

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat is aware of this vulnerability in Perl's pack and unpack built-in functions. Exploitation requires an application to pass attacker-controlled data as a pack or unpack template, which is an uncommon programming pattern. In typical usage, templates are hardcoded in source code and not derived from untrusted input, which significantly limits the practical exploitability of this flaw.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Hardened Imagesperl-main-0.02-524.3.hum1Fixed 2026-07-15RHSA-2026:39997
Red Hat Hardened Imagesperl-main-5.42.2-524.3.hum1Fixed 2026-07-15RHSA-2026:39997
Red Hat Enterprise Linux 10perlFix deferred
Red Hat Enterprise Linux 6perlFix deferred
Red Hat Enterprise Linux 7perlFix deferred
Red Hat Enterprise Linux 8perlFix deferred
Red Hat Enterprise Linux 8perl:5.32/perlFix deferred
Red Hat Enterprise Linux 9perlFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/code-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-57432.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-11Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High
  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON