CVE-2024-56406
Publication date 13 April 2025
Last updated 30 May 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
perl | 25.04 plucky |
Fixed 5.40.1-2ubuntu0.1
|
24.10 oracular |
Fixed 5.38.2-5ubuntu0.1
|
|
24.04 LTS noble |
Fixed 5.38.2-3.2ubuntu0.1
|
|
22.04 LTS jammy |
Fixed 5.34.0-3ubuntu1.4
|
|
20.04 LTS focal |
Not affected
|
|
18.04 LTS bionic |
Not affected
|
|
16.04 LTS xenial |
Not affected
|
|
14.04 LTS trusty |
Not affected
|
Notes
mdeslaur
introduced by: https://github.com/Perl/perl5/commit/a311ee08b6781f83a7785f578a26bbc21a7ae457
Severity score breakdown
Parameter | Value |
---|---|
Base score |
|
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | Low |
Integrity impact | Low |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-7434-1
- Perl vulnerability
- 14 April 2025
- USN-7434-2
- Perl vulnerability
- 23 April 2025