ubuntu-cve-2024-56406
Vulnerability from osv_ubuntu
Published
2025-04-13 13:00
Modified
2026-04-22 07:52
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
8.4 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libperl5.34",
"binary_version": "5.34.0-3ubuntu1.4"
},
{
"binary_name": "perl",
"binary_version": "5.34.0-3ubuntu1.4"
},
{
"binary_name": "perl-base",
"binary_version": "5.34.0-3ubuntu1.4"
},
{
"binary_name": "perl-debug",
"binary_version": "5.34.0-3ubuntu1.4"
},
{
"binary_name": "perl-modules-5.34",
"binary_version": "5.34.0-3ubuntu1.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "perl",
"purl": "pkg:deb/ubuntu/perl@5.34.0-3ubuntu1.4?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.34.0-3ubuntu1.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.32.1-3ubuntu3",
"5.34.0-3ubuntu1",
"5.34.0-3ubuntu1.1",
"5.34.0-3ubuntu1.2",
"5.34.0-3ubuntu1.3"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libperl5.38t64",
"binary_version": "5.38.2-3.2ubuntu0.1"
},
{
"binary_name": "perl",
"binary_version": "5.38.2-3.2ubuntu0.1"
},
{
"binary_name": "perl-base",
"binary_version": "5.38.2-3.2ubuntu0.1"
},
{
"binary_name": "perl-debug",
"binary_version": "5.38.2-3.2ubuntu0.1"
},
{
"binary_name": "perl-modules-5.38",
"binary_version": "5.38.2-3.2ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "perl",
"purl": "pkg:deb/ubuntu/perl@5.38.2-3.2ubuntu0.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.38.2-3.2ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
}
],
"aliases": [],
"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`. \u00a0 \u00a0$ perl -e \u0027$_ = \"\\x{FF}\" x 1000000; tr/\\xFF/\\x{100}/;\u0027 \u00a0 \u00a0Segmentation 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.",
"id": "UBUNTU-CVE-2024-56406",
"modified": "2026-04-22T07:52:30Z",
"published": "2025-04-13T13:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-56406"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-56406"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7434-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7434-2"
}
],
"related": [
"USN-7434-1",
"USN-7434-2"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2024-56406"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…