Advisory

DEBIAN-CVE-2026-57432

Also known as: CVE-2026-57432

Summary

The record has no summary.

Details

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

High Basis: CVSS v3 score 8.4, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-07-13 17:17 UTC
Modified
2026-11-11 09:47 UTC

Affected packages and fixes

perl

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 5.36.0-7+deb12u4 (ecosystem)

Fixed versions

5.36.0-7+deb12u4

Fix

  • Fixed version 5.36.0-7+deb12u4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

perl

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 5.40.1-6+deb13u1 (ecosystem)

Fixed versions

5.40.1-6+deb13u1

Fix

  • Fixed version 5.40.1-6+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

perl

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 5.40.1-8 (ecosystem)

Fixed versions

5.40.1-8

Fix

  • Fixed version 5.40.1-8
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences