Advisory

UBUNTU-CVE-2024-56406

Also known as: CVE-2024-56406

Summary

The record has no summary.

Details

A heap buffer overflow vulnerability was discovered in Perl. Release branches 5.34, 5.36, 5.38 and 5.40 are affected, including development versions from 5.33.1 through 5.41.10. When there are non-ASCII bytes in the left-hand-side of the tr operator, S_do_trans_invmap can overflow the destination pointer d.    $ perl -e '$_ = "\x{FF}" x 1000000; tr/\xFF/\x{100}/;'    Segmentation fault (core dumped) It is believed that this vulnerability can enable Denial of Service and possibly Code Execution attacks on platforms that lack sufficient defenses.

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
2025-04-13 13:00 UTC
Modified
2026-04-22 15:21 UTC

Affected packages and fixes

perl

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 5.34.0-3ubuntu1.4 (ecosystem)

Fixed versions

5.34.0-3ubuntu1.4

Fix

  • Fixed version 5.34.0-3ubuntu1.4
    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) · Ubuntu 24.04

Affected

  • introduced 0, fixed 5.38.2-3.2ubuntu0.1 (ecosystem)

Fixed versions

5.38.2-3.2ubuntu0.1

Fix

  • Fixed version 5.38.2-3.2ubuntu0.1
    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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences