CVE Catalog

CVE-2024-56406

High
Published: Translated: NVD NIST

Summary

A heap buffer overflow vulnerability was discovered in Perl. Affected versions include release branches 5.34, 5.36, 5.38, and 5.40, as well as development versions from 5.33.1 through 5.41.10. When non-ASCII bytes are present in the left-hand side of the `tr` operator, `S_do_trans_invmap` can overflow the buffer.

Risk Assessment

An attacker could exploit this vulnerability to execute arbitrary code or cause a denial of service in applications using Perl, potentially compromising system confidentiality, integrity, or availability.

Recommendation

Immediately update Perl to a patched version (e.g., 5.40.1 or later) and avoid using the `tr` operator with untrusted input until the update is applied.

Other vulnerabilities in Perl

See all
Original NVD description (English source)

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 destina

Vulnerability data from NVD (NIST) · CISA KEV · EPSS