Skip to main content
EPSS 0.2%top 89%

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. (CVE-2026-57432)

0
Medium
Published: 07/13/2026 (07/13/2026, 17:17:00 UTC)
Source: GCVE Database
Product: perl

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 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.

CVSS v3.1

Score 8.4high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]+esm7?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=5.14.2-21build1=5.18.1-4=5.18.1-4build1=5.18.1-5=5.18.2-2=5.18.2-2ubuntu1=5.18.2-2ubuntu1.1=5.18.2-2ubuntu1.3=5.18.2-2ubuntu1.4=5.18.2-2ubuntu1.6=5.18.2-2ubuntu1.7=5.18.2-2ubuntu1.7+esm3=5.18.2-2ubuntu1.7+esm4=5.18.2-2ubuntu1.7+esm5=5.18.2-2ubuntu1.7+esm7
Ubuntu:Pro:16.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]+esm2?arch=source&distro=esm-infra-legacy/xenial
Affected versions
=5.20.2-6=5.22.1-3=5.22.1-4=5.22.1-5=5.22.1-7=5.22.1-8=5.22.1-9=5.22.1-9ubuntu0.2=5.22.1-9ubuntu0.3=5.22.1-9ubuntu0.5=5.22.1-9ubuntu0.6=5.22.1-9ubuntu0.9=5.22.1-9ubuntu0.9+esm1=5.22.1-9ubuntu0.9+esm2
Ubuntu:Pro:18.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]+esm2?arch=source&distro=esm-infra/bionic
Affected versions
=5.26.0-8ubuntu1=5.26.1-2ubuntu1=5.26.1-3=5.26.1-4=5.26.1-4build1=5.26.1-5=5.26.1-6=5.26.1-6ubuntu0.1=5.26.1-6ubuntu0.2=5.26.1-6ubuntu0.3=5.26.1-6ubuntu0.5=5.26.1-6ubuntu0.6=5.26.1-6ubuntu0.7=5.26.1-6ubuntu0.7+esm2
Ubuntu:Pro:20.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]+esm2?arch=source&distro=esm-infra/focal
Affected versions
=5.28.1-6build1=5.30.0-7=5.30.0-9=5.30.0-9build1=5.30.0-9ubuntu0.2=5.30.0-9ubuntu0.3=5.30.0-9ubuntu0.4=5.30.0-9ubuntu0.5=5.30.0-9ubuntu0.5+esm2
Ubuntu:22.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=jammy
Affected versions
=5.32.1-3ubuntu3=5.34.0-3ubuntu1=5.34.0-3ubuntu1.1=5.34.0-3ubuntu1.2=5.34.0-3ubuntu1.3=5.34.0-3ubuntu1.4=5.34.0-3ubuntu1.5=5.34.0-3ubuntu1.7
Ubuntu:24.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=noble
Affected versions
=5.36.0-9ubuntu1=5.36.0-10ubuntu1=5.38.2-3=5.38.2-3.2=5.38.2-3.2build1=5.38.2-3.2build2=5.38.2-3.2build2.1=5.38.2-3.2ubuntu0.1=5.38.2-3.2ubuntu0.2=5.38.2-3.2ubuntu0.3
Ubuntu:26.04:LTSmore threats →ghsa
perl
pkg:deb/ubuntu/[email protected]?arch=source&distro=resolute
Affected versions
=5.40.1-6build1=5.40.1-7build1=5.40.1-7ubuntu0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-57432
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a58b46268715ace43d6eb89

Added to database: 07/16/2026, 10:37:22 UTC

Last enriched: 08/16/2026, 17:37:17 UTC

Last updated: 09/14/2026, 22:01:35 UTC

Views: 26

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses