{"id":"JLSEC-2026-1395","summary":"A heap buffer overflow vulnerability was discovered in Perl. When there are non-ASCII bytes in...","details":"A heap buffer overflow vulnerability was discovered in Perl.\n\nRelease branches 5.34, 5.36, 5.38 and 5.40 are affected, including development versions from 5.33.1 through 5.41.10.\n\nWhen there are non-ASCII bytes in the left-hand-side of the `tr` operator, `S_do_trans_invmap` can overflow the destination pointer `d`.\n\n```\n$ perl -e '`$_` = \"`\\x`{FF}\" x 1000000; `tr/\\xFF/\\x`{100}/;'\n   Segmentation fault (core dumped)\n```\n\nIt is believed that this vulnerability can enable Denial of Service and possibly Code Execution attacks on platforms that lack sufficient defenses.","modified":"2026-11-23T15:43:34.614849325Z","published":"2026-11-23T15:17:06.961Z","upstream":["CVE-2024-56406","EUVD-2024-54400","GHSA-p6jf-pv8c-623c"],"database_specific":{"license":"CC-BY-4.0","sources":[{"id":"CVE-2024-56406","imported":"2026-11-21T08:11:19.204Z","modified":"2026-06-17T08:12:08.977Z","published":"2025-04-13T14:15:14.527Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2024-56406","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56406","database_specific":{"status":"Modified"},"affected":{"perl:perl":["\u003e= 5.33.1, \u003c 5.38.4","\u003e= 5.39.0, \u003c 5.40.2","\u003e= 5.41.0, \u003c= 5.41.10"]}},{"id":"GHSA-p6jf-pv8c-623c","imported":"2026-11-21T08:11:35.988Z","modified":"2025-04-30T15:30:47Z","published":"2025-04-13T15:30:21Z","url":"https://api.github.com/advisories/GHSA-p6jf-pv8c-623c","html_url":"https://github.com/advisories/GHSA-p6jf-pv8c-623c"},{"imported":"2026-11-21T08:11:20.572Z","modified":"2025-10-16T14:04:20Z","published":"2025-04-13T13:16:09Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2024-54400","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-54400","affected":{"perl:perl":["5.33.1 \u003c5.38.4-RC1","5.39.0 \u003c5.40.2-RC1","5.41.0 ≤5.41.10"]},"id":"EUVD-2024-54400"}]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/04/13/3"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/04/13/4"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/04/13/5"},{"type":"WEB","url":"https://github.com/Perl/perl5/commit/87f42aa0e0096e9a346c9672aa3a0bd3bef8c1dd.patch"},{"type":"WEB","url":"https://github.com/advisories/GHSA-p6jf-pv8c-623c"},{"type":"WEB","url":"https://metacpan.org/release/SHAY/perl-5.38.4/changes"},{"type":"WEB","url":"https://metacpan.org/release/SHAY/perl-5.40.2/changes"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56406"}],"affected":[{"package":{"name":"Perl_jll","ecosystem":"Julia","purl":"pkg:julia/Perl_jll?uuid=83958c19-0796-5285-893e-a1267f8ec499"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.34.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1395.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CNA"}]}