PERLDELTA(1)
β¨ PERLDELTA β what's new for perl v5.42.3 β¨
bestie. welcome to the perldelta page, aka the group chat recap of everything that changed in Perl v5.42.3, from the Perl Programmers Reference Guide. pull up a chair, grab a boba, we're doing a vibe check on a whole release π
πΈ DESCRIPTION πΈ
okay so. this doc is literally just the diff between the 5.42.2 release and the 5.42.3 release. that's it. that's the whole plot π
and if you're hopping in from something even older, like 5.42.1? first read perl5422delta, bestie β that one covers the glow-up from 5.42.1 to 5.42.2. do it in order, no skipping, iykyk π
π Security π
three (3) CVEs. sit down for these, they're not cute.
π« CVE-2026-8376 - Buffer overflow in Perl_study_chunk
so Perl_study_chunk in regcomp_study.c was checking the size of the joined substring buffer in characters instead of bytes. the way that's a problem on 32-bit buildsβ¦ π it can lead to an integer overflow of the size of the buffer, which then leads to out-of-bounds writes. yeah. no cap. π
π« CVE-2026-57432 - Buffer overflow in S_measure_struct
if you call pack or unpack on a structure whose computed size is too large to fit in memory, an integer overflow could happen and that results in a buffer overflow. and when does this usually happen? when you embed a large number as the repeat count for an item. so likeβ¦ don't do that. π
π« CVE-2026-13221 - Regex trie 16-bit field overflow
the trie optimization in the regex engine could overflow in an alternation with more than ~65k branches. and the consequence? both false positives AND false negatives on such regular expressions. so it's not even consistent, it's just wrong in both directions. iconic behavior in the worst way β
π« Incompatible Changes π«
good news era: there are no changes intentionally incompatible with 5.42.2.
if any exist? those are bugs, and we are literally requesting that you submit a report. see "Reporting Bugs" below, bestie π«Ά
π¦ Modules and Pragmata π¦
β¬οΈ Updated Modules and Pragmata
Archive::Tarβ upgraded from version3.04to3.12.- this fixes CVE-2026-9538, CVE-2026-42496, and CVE-2026-42497. three-for-one slay π₯
Compress::Raw::Bzip2β upgraded from version2.213to2.218.HTTP::Tinyβ upgraded from version0.090to0.096.- this fixes CVE-2026-7010 and CVE-2026-7017.
IO::Compressβ upgraded from version2.213to2.223.- this fixes CVE-2025-15649, CVE-2026-48961, CVE-2026-48962, and CVE-2026-48959.
Module::CoreListβ upgraded from version5.20260329_42to5.20260802_42.Socketβ upgraded from version2.038to2.041.- this fixes CVE-2026-12087.
Storableβ upgraded from version3.37to3.37_01.- this fixes CVE-2026-57433.
π Documentation π
βοΈ Changes to Existing Documentation
we have attempted to update the docs so they reflect everything listed in this document. and if you find any we missed? open an issue at <https://github.com/Perl/perl5/issues>. we're not mad, we just wanna know π«Ά
π©Ί Diagnostics π©Ί
the following additions or changes have been made to diagnostic output β that means warnings and fatal error messages, bestie. for the complete list of diagnostic messages, see perldiag β¨
π New Diagnostics
π₯ New Errors
Pack template structure size is too large- (F) β okay so this is a fatal one. you called
packorunpackto operate on a structure whose computed size is too large to fit in memory. this usually happens as a result of embedding a large number as the repeat count for an item. same energy as that CVE up top, fr fr π
- (F) β okay so this is a fatal one. you called
π§ͺ Testing π§ͺ
tests were added and changed to reflect the other additions and changes in this release. as they should be. periodt π
π«Ά Acknowledgements π«Ά
okay this is the part where we get emo.
Perl 5.42.3 represents approximately 4 months of development since Perl 5.42.2, and contains approximately 4,000 lines of changes across 120 files from 14 authors. π so much work.
excluding auto-generated files, documentation and release tools, there were approximately 1,700 lines of changes to 59 .pm, .t, .c and .h files.
Perl continues to flourish into its fourth decade thanks to a vibrant community of users and developers. and the following people are known to have contributed the improvements that became Perl 5.42.3:
Aristotle Pagaltzis, Chris 'BinGOs' Williams, E. Choroba, Eric Herman, Karen Etheridge, Karl Williamson, Leon Timmermans, Paul Evans, Paul Marquess, Philippe Bruhat (BooK), Richard Leach, Steve Hay, Thibault Duponchelle, Tony Cook.
π every single one of them.
ngl, the list above is almost certainly incomplete β 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. you're seen, you're loved π«Ά
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. π
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>.
π be sure to trim your bug down to a tiny but sufficient test case. we love you but we do not love a 400-line repro script, bestie.
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. π
π 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. π«Ά literally the easiest good deed ever.
π 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 version v5.42.3, dated 2026-08-03, and it was giving very much main character energy from start to finish π
β¨
π¦ 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