Bug 2506204 - CVE-2026-57432 perl: Perl: Information disclosure via integer overflow in pack/unpack operations [fedora-all]
Summary: CVE-2026-57432 perl: Perl: Information disclosure via integer overflow in pac...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["69eea063-736d-4167-8681-0...
Depends On:
Blocks: CVE-2026-57432
TreeView+ depends on / blocked
 
Reported: 2026-07-22 18:47 UTC by Thibault Guittet
Modified: 2026-08-08 01:27 UTC (History)
6 users (show)

Fixed In Version: perl-5.44.0-527.fc45 perl-5.42.3-525.fc44 perl-5.42.3-524.fc43
Clone Of:
Environment:
Last Closed: 2026-08-05 00:57:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Thibault Guittet 2026-07-22 18:47:01 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-08-03 15:11:17 UTC
FEDORA-2026-475559cbb9 (perl-5.42.3-525.fc44, perl-Devel-Cover-1.52-4.fc44, and 2 more) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-475559cbb9

Comment 2 Fedora Update System 2026-08-03 15:12:01 UTC
FEDORA-2026-b2e2c26935 (perl-5.42.3-524.fc43, perl-Devel-Cover-1.51-4.fc43, and 1 more) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-b2e2c26935

Comment 3 Fedora Update System 2026-08-04 01:41:43 UTC
FEDORA-2026-475559cbb9 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-475559cbb9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-475559cbb9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-08-04 02:00:27 UTC
FEDORA-2026-b2e2c26935 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-b2e2c26935`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-b2e2c26935

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-08-05 00:57:45 UTC
FEDORA-2026-475559cbb9 (perl-5.42.3-525.fc44, perl-Devel-Cover-1.52-4.fc44, and 2 more) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-08-05 01:32:41 UTC
FEDORA-2026-b2e2c26935 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-b2e2c26935`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-b2e2c26935

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-08-08 01:27:56 UTC
FEDORA-2026-b2e2c26935 (perl-5.42.3-524.fc43, perl-Devel-Cover-1.51-4.fc43, and 2 more) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.