{
    "mode": "man",
    "parameter": "PERL5125DELTA",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/PERL5125DELTA/1/json",
    "generated": "2026-10-09T18:29:45Z",
    "sections": {
        "NAME": {
            "content": "perl5125delta - what is new for perl v5.12.5\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This document describes differences between the 5.12.4 release and the 5.12.5 release.\n\nIf you are upgrading from an earlier release such as 5.12.3, first read perl5124delta, which\ndescribes differences between 5.12.3 and 5.12.4.\n",
            "subsections": []
        },
        "Security": {
            "content": "",
            "subsections": [
                {
                    "name": "\"Encode\" decode_xs n-byte heap-overflow (CVE-2011-2939)",
                    "content": "A bug in \"Encode\" could, on certain inputs, cause the heap to overflow.  This problem has\nbeen corrected.  Bug reported by Robert Zacek.\n"
                },
                {
                    "name": "File::Glob::bsd_glob() memory error with GLOB_ALTDIRFUNC (CVE-2011-2728).",
                    "content": "Calling \"File::Glob::bsdglob\" with the unsupported flag GLOBALTDIRFUNC would cause an\naccess violation / segfault.  A Perl program that accepts a flags value from an external\nsource could expose itself to denial of service or arbitrary code execution attacks.  There\nare no known exploits in the wild.  The problem has been corrected by explicitly disabling\nall unsupported flags and setting unused function pointers to null.  Bug reported by Clément\nLecigne.\n"
                },
                {
                    "name": "Heap buffer overrun in 'x' string repeat operator (CVE-2012-5195)",
                    "content": "Poorly written perl code that allows an attacker to specify the count to perl's 'x' string\nrepeat operator can already cause a memory exhaustion denial-of-service attack. A flaw in\nversions of perl before 5.15.5 can escalate that into a heap buffer overrun; coupled with\nversions of glibc before 2.16, it possibly allows the execution of arbitrary code.\n\nThis problem has been fixed.\n"
                }
            ]
        },
        "Incompatible Changes": {
            "content": "There are no changes intentionally incompatible with 5.12.4. If any exist, they are bugs and\nreports are welcome.\n",
            "subsections": []
        },
        "Modules and Pragmata": {
            "content": "",
            "subsections": [
                {
                    "name": "Updated Modules",
                    "content": "B::Concise\n\nB::Concise no longer produces mangled output with the -tree option [perl #80632].\n\ncharnames\n\nA regression introduced in Perl 5.8.8 has been fixed, that caused charnames::viacode(0) to\nreturn \"undef\" instead of the string \"NULL\" [perl #72624].\n\nEncode has been upgraded from version 2.39 to version 2.3901.\n\nSee \"Security\".\n\nFile::Glob has been upgraded from version 1.07 to version 1.0701.\n\nSee \"Security\".\n\nUnicode::UCD\n\nThe documentation for the \"upper\" function now actually says \"upper\", not \"lower\".\n\nModule::CoreList\n\nModule::CoreList has been updated to version 2.5002 to add data for this release.\n"
                }
            ]
        },
        "Changes to Existing Documentation": {
            "content": "",
            "subsections": [
                {
                    "name": "perlebcdic",
                    "content": "The perlebcdic document contains a helpful table to use in \"tr///\" to convert between EBCDIC\nand Latin1/ASCII.  Unfortunately, the table was the inverse of the one it describes.  This\nhas been corrected.\n"
                },
                {
                    "name": "perlunicode",
                    "content": "The section on User-Defined Case Mappings had some bad markup and unclear sentences, making\nparts of it unreadable.  This has been rectified.\n"
                },
                {
                    "name": "perluniprops",
                    "content": "This document has been corrected to take non-ASCII platforms into account.\n"
                }
            ]
        },
        "Installation and Configuration Improvements": {
            "content": "",
            "subsections": [
                {
                    "name": "Platform Specific Changes",
                    "content": "Mac OS X\nThere  have  been  configuration  and  test  fixes to make Perl build cleanly on Lion and\nMountain Lion.\n\nNetBSD\nThe NetBSD hints file was corrected to be compatible with NetBSD 6.*\n"
                }
            ]
        },
        "Selected Bug Fixes": {
            "content": "•   \"chop\" now correctly handles characters above \"\\x{7fffffff}\" [perl #73246].\n\n•   \"($<,$>) = (...)\" stopped working properly in 5.12.0.  It is supposed to  make  a  single\nsetreuid() call, rather than calling setruid() and seteuid() separately.  Consequently it\ndid not work properly.  This has been fixed [perl #75212].\n\n•   Fixed  a  regression  of  kill() when a match variable is used for the process ID to kill\n[perl #75812].\n\n•   \"UNIVERSAL::VERSION\" no longer leaks memory.  It started leaking in Perl 5.10.0.\n\n•   The C-level \"mystrftime\" functions no longer leaks memory.  This fixes a memory leak  in\n\"POSIX::strftime\" [perl #73520].\n\n•   \"caller\" no longer leaks memory when called from the DB package if @DB::args was assigned\nto after the first call to \"caller\".  Carp was triggering this bug [perl #97010].\n\n•   Passing  to  \"index\"  an  offset  beyond the end of the string when the string is encoded\ninternally in UTF8 no longer causes panics [perl #75898].\n\n•   Syntax errors in \"(?{...})\" blocks in regular expressions no longer cause panic  messages\n[perl #2353].\n\n•   Perl  5.10.0 introduced some faulty logic that made \"U*\" in the middle of a pack template\nequivalent to \"U0\" if the input string was empty.  This has been fixed [perl #90160].\n",
            "subsections": []
        },
        "Errata": {
            "content": "",
            "subsections": [
                {
                    "name": "split() and @_",
                    "content": "split() no longer modifies @ when called in scalar or void context.  In void context it  now\nproduces  a  \"Useless  use  of  split\" warning.  This is actually a change introduced in perl\n5.12.0, but it was missed from that release's perl5120delta.\n"
                }
            ]
        },
        "Acknowledgements": {
            "content": "Perl 5.12.5 represents approximately 17 months of development since Perl 5.12.4 and  contains\napproximately 1,900 lines of changes across 64 files from 18 authors.\n\nPerl  continues  to flourish into its third decade thanks to a vibrant community of users and\ndevelopers. The following people are known to have contributed the improvements  that  became\nPerl 5.12.5:\n\nAndy  Dougherty, Chris 'BinGOs' Williams, Craig A. Berry, David Mitchell, Dominic Hargreaves,\nFather  Chrysostomos,  Florian  Ragwitz,  George  Greer,  Goro  Fuji,  Jesse  Vincent,   Karl\nWilliamson,  Leon Brocard, Nicholas Clark, Rafael Garcia-Suarez, Reini Urban, Ricardo Signes,\nSteve Hay, Tony Cook.\n\nThe list above is almost certainly incomplete as it is automatically generated  from  version\ncontrol  history. In particular, it does not include the names of the (very much appreciated)\ncontributors who reported issues to the Perl bug tracker.\n\nMany of the changes included in this version originated  in  the  CPAN  modules  included  in\nPerl's core. We're grateful to the entire CPAN community for helping Perl to flourish.\n\nFor  a  more  complete  list of all of Perl's historical contributors, please see the AUTHORS\nfile in the Perl source distribution.\n",
            "subsections": []
        },
        "Reporting Bugs": {
            "content": "If you find what you think is a bug, you might check the  articles  recently  posted  to  the\ncomp.lang.perl.misc  newsgroup  and  the  perl  bug database at http://rt.perl.org/perlbug/ .\nThere may also be information at http://www.perl.org/ , the Perl Home Page.\n\nIf you believe you have an unreported bug, please run the perlbug program included with  your\nrelease.  Be sure to trim your bug down to a tiny but sufficient test case.  Your bug report,\nalong  with  the  output of \"perl -V\", will be sent off to perlbug@perl.org to be analysed by\nthe Perl porting team.\n\nIf the bug you are reporting has security implications, which make it inappropriate  to  send\nto  a  publicly archived mailing list, then please send it to perl5-security-report@perl.org.\nThis points to a closed subscription unarchived mailing list, which  includes  all  the  core\ncommitters,  who  be  able  to help assess the impact of issues, figure out a resolution, and\nhelp co-ordinate the release of patches to mitigate or fix the problem across  all  platforms\non  which  Perl  is  supported.  Please only use this address for security issues in the Perl\ncore, not for modules independently distributed on CPAN.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "The Changes file for an explanation of how to view exhaustive details on what changed.\n\nThe INSTALL file for how to build Perl.\n\nThe README file for general stuff.\n\nThe Artistic and Copying files for copyright information.\n\nperl v5.38.2                                 2026-08-18                             PERL5125DELTA(1)",
            "subsections": []
        }
    },
    "summary": "perl5125delta - what is new for perl v5.12.5",
    "flags": [],
    "examples": [],
    "see_also": []
}