PERL5403DELTA(1)
π PERL5403DELTA π
okay bestie, so this is the perl5403delta page β it's the tea on what's new in perl v5.40.3, and it lives in the Perl Programmers Reference Guide. pull up a chair, grab a boba, we're doing a release-notes deep dive π«Ά
β¨ NAME β¨
perl5403delta β what is new for perl v5.40.3
πΈ DESCRIPTION πΈ
so this doc spills the differences between the 5.40.2 release and the 5.40.3 release. that's it. that's the whole assignment π
and hey β if you're upgrading from something even earlier, like 5.40.1, you gotta read perl5402delta first, because that one covers the glow-up from 5.40.1 to 5.40.2. no skipping steps, bestie, the lore is cumulative π
π Security π
[CVE-2025-40909] Perl threads have a working directory race condition where file operations may target unintended paths
okay so this one's serious, no cap. Perl thread cloning had a working directory race condition where file operations may target unintended paths. like, you'd think you're writing to one place and the vibes would take you somewhere else entirely. not it.
the fix: Perl 5.40 will no longer chdir to each handle. periodt.
this whole situation was discovered by Vincent Lefèvre via [GH #23010 <https://github.com/Perl/perl5/issues/23010>] and then assigned [CVE-2025-40909 <https://lists.security.metacpan.org/cve-announce/msg/30017499/>] by the CPAN Security Group <https://security.metacpan.org/>.
fixes came through via [GH #23019 <https://github.com/Perl/perl5/pull/23019>] and [GH #23361 <https://github.com/Perl/perl5/pull/23361>]. slay π οΈβ¨
π₯ Incompatible Changes π₯
ngl there are no changes intentionally incompatible with 5.40.2. zero. none. if you find any, they're bugs, and we beg you to submit a report β see "Reporting Bugs" below. like genuinely, we want to know π
π§ Modules and Pragmata π§
Updated Modules and Pragmata
Module::CoreListgot a glow-up from version5.20250413_40to5.20250803_40. iconic behavior honestly π
π Documentation π
Changes to Existing Documentation
we tried our best to update the docs so they reflect everything listed in this document. if we missed anything (and lowkey we might have), open an issue at <https://github.com/Perl/perl5/issues>. we're not mad, we just wanna know π
π§ͺ Testing π§ͺ
tests were added and changed to reflect the other additions and changes in this release. testing era, fr fr π§ͺβ¨
π«Ά Acknowledgements π«Ά
Perl 5.40.3 represents approximately 4 months of development since Perl 5.40.2, and it contains approximately 3,400 lines of changes across 43 files from 7 authors.
and if we exclude auto-generated files, documentation and release tools? that's approximately 1,100 lines of changes to 6 .pm, .t, .c and .h files. the way that's so specific and yet so real π
Perl continues to flourish into its fourth decade thanks to a vibrant community of users and developers. (fourth decade!! main character energy for a language, honestly π) the following people are known to have contributed the improvements that became Perl 5.40.3:
Karen Etheridge, Leon Timmermans, Lukas Mai, Philippe Bruhat (BooK), Richard Leach, Steve Hay, Thibault Duponchelle.
just so you know β that list is almost certainly incomplete, because it's 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. we love you, mystery bug-reporters π«Ά
many of the changes 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. π
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 info at <https://www.perl.org/>, the Perl Home Page. π
if you believe you have an unreported bug, please open an issue at <https://github.com/Perl/perl5/issues>. and please β be sure to trim your bug down to a tiny but sufficient test case. tiny!! sufficient!! both!! that's the assignment π
if the bug you're 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 on how to report the issue. stay safe out there π
π 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. wholesome. we love a gratitude moment π
π 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.
and that's the whole page, bestie!! πβ¨ this was perl v5.42.3, dated 2026-08-03 β so go forth, upgrade responsibly, and remember: the working directory is not a vibe, it's a contract π π¦
π¦ where this page comes from
- fedora 43: perl-doc 5.42.3-524.fc43 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Unicode-3.0 AND LicenseRef-Fedora-UltraPermissive
- fedora 44: perl-doc 5.42.3-525.fc44 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Unicode-3.0 AND LicenseRef-Fedora-UltraPermissive
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms