CVE-2024-56406: Perl 5.34, 5.36, 5.38 and 5.40 are vulnerable to a heap buffer overflow when transliterating non-ASCII bytes.
"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.
It is believed that this vulnerability can enable Denial of Service or Arbitrary Code Execution attacks on platforms that lack sufficient defenses."
ref: https://www.openwall.com/lists/oss-security/2025/04/13/3
https://metacpan.org/release/SHAY/perl-5.40.2/changes
It's suggested releases from v5.33.1 to v5.41.10 are affected: https://www.openwall.com/lists/oss-security/2025/04/13/4