Perl up to 5.34.3/5.36.3/5.38.3/5.40.1 S_do_trans_invmap heap-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.4 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in Perl up to 5.34.3/5.36.3/5.38.3/5.40.1 and classified as critical. This affects the function S_do_trans_invmap. Performing a manipulation results in heap-based overflow.
This vulnerability is reported as CVE-2024-56406. The attack is possible to be carried out remotely. No exploit exists.
The affected component should be upgraded.
Details
A vulnerability classified as critical has been found in Perl up to 5.34.3/5.36.3/5.38.3/5.40.1. This affects the function S_do_trans_invmap. The manipulation with an unknown input leads to a heap-based overflow vulnerability. CWE is classifying the issue as CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
A heap buffer overflow vulnerability was discovered in Perl. 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.
The weakness was disclosed by Nathan Mills as 87f42aa0e0096e9a346c9672aa3a0bd3bef8c1dd. It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2024-56406 since 12/23/2024. The exploitability is told to be difficult. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 234241 (Debian dsa-5902 : libperl-dev - security update), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 5.38.4 or 5.40.2 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (234241) and CERT Bund (WID-SEC-2025-1850). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Affected
- Xerox FreeFlow Print Server
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.6VulDB Meta Temp Score: 5.4
VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 234241
Nessus Name: Debian dsa-5902 : libperl-dev - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Perl 5.38.4/5.40.2
Timeline
12/23/2024 🔍04/13/2025 🔍
04/13/2025 🔍
10/16/2025 🔍
Sources
Advisory: 87f42aa0e0096e9a346c9672aa3a0bd3bef8c1ddResearcher: Nathan Mills
Status: Confirmed
CVE: CVE-2024-56406 (🔍)
GCVE (CVE): GCVE-0-2024-56406
GCVE (VulDB): GCVE-100-304587
CERT Bund: WID-SEC-2025-1850 - Xerox FreeFlow Print Server: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff
Entry
Created: 04/13/2025 16:12Updated: 10/16/2025 16:29
Changes: 04/13/2025 16:12 (57), 04/14/2025 21:29 (2), 08/15/2025 21:01 (7), 10/16/2025 16:29 (1)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.