PERL5402DELTA(1perl)
β¨ NAME β¨
perl5402delta β what is new for perl v5.40.2, bestie. It's giving release notes energy, and we're gonna read every crumb. π
πΈ DESCRIPTION πΈ
This doc spills the tea on the differences between the 5.40.1 release and the 5.40.2 release. Periodt.
If you're upgrading from an earlier release like 5.40.0, first go read perl5401delta, which describes the differences between 5.40.0 and 5.40.1. Don't skip it, okay? π
π‘οΈ Security π‘οΈ
π [CVE-2024-56406] Heap buffer overflow vulnerability with tr//
A heap buffer overflow vulnerability was discovered in Perl. Not cute. Not slay. Very much a code red moment. π¨
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 or Arbitrary Code Execution attacks on platforms that lack sufficient defenses. So yeah, this one's serious, bestie. π
Discovered by: Nathan Mills. Thank you for your service. π«‘
π« Incompatible Changes π«
There are no changes intentionally incompatible with 5.40.1. If any exist, they are bugs, and we request that you submit a report. See "Reporting Bugs" below. No cap.
π¦ Modules and Pragmata π¦
π Updated Modules and Pragmata
Module::CoreListβ has been upgraded from version5.20250118_40to5.20250413_40. Glow up. β¨
π Acknowledgements π
Perl 5.40.2 represents approximately 3 months of development since Perl 5.40.1 and contains approximately 1,600 lines of changes across 37 files from 7 authors. That's a whole lot of typing, fr fr.
Excluding auto-generated files, documentation and release tools, there were approximately 640 lines of changes to 5 .pm, .t, .c and .h files.
Perl continues to flourish into its fourth decade thanks to a vibrant community of users and developers. The following people are known to have contributed the improvements that became Perl 5.40.2:
<ul> <li>Karl Williamson</li> <li>Lukas Mai</li> <li>Max Maischein</li> <li>Paul Evans</li> <li>Richard Leach</li> <li>Steve Hay</li> <li>Thibault Duponchelle</li> </ul>
The list above is almost certainly incomplete as it is automatically generated from version control history. In particular, it does not include the names of the (very much appreciated) contributors who reported issues to the Perl bug tracker. Y'all are the real MVPs. π«Ά
Many of the changes included in this version originated in the CPAN modules included in Perl's core. We're grateful to the entire CPAN community for helping Perl to flourish. CPAN girlies, we see you. π
For a more complete list of all of Perl's historical contributors, please see the AUTHORS file in the Perl source distribution.
π Reporting Bugs π
If you find what you think is a bug, you might check the perl bug database at <https://github.com/Perl/perl5/issues>. There may also be information at <https://www.perl.org/>, the Perl Home Page. Go look, bestie.
If you believe you have an unreported bug, please open an issue at <https://github.com/Perl/perl5/issues>. Be sure to trim your bug down to a tiny but sufficient test case. Like, make it small enough to fit in a group chat screenshot. πΈ
If the bug you are reporting has security implications which make it inappropriate to send to a public issue tracker, then see "SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec for details of how to report the issue. Safety first, always. π
π Give Thanks π
If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you can do so by running the perlthanks program:
perlthanks
This will send an email to the Perl 5 Porters list with your show of thanks. It's giving gratitude, it's giving main character energy. π
π SEE ALSO π
- The
Changesfile for an explanation of how to view exhaustive details on what changed. - The
INSTALLfile for how to build Perl. - The
READMEfile for general stuff. - The
ArtisticandCopyingfiles for copyright information.
This manual page, PERL5402DELTA(1perl), was served to you by perl v5.44.0 on 2026-10-17. Stay slaying, stay patching, and don't forget to read your deltas. Mwah. πβ¨
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms