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
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.4$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.6
VulDB Meta Temp Score: 5.4

VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Heap-based overflow
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 234241
Nessus Name: Debian dsa-5902 : libperl-dev - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Perl 5.38.4/5.40.2

Timelineinfo

12/23/2024 🔍
04/13/2025 +110 days 🔍
04/13/2025 +0 days 🔍
10/16/2025 +186 days 🔍

Sourcesinfo

Advisory: 87f42aa0e0096e9a346c9672aa3a0bd3bef8c1dd
Researcher: 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

Entryinfo

Created: 04/13/2025 16:12
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!