Releases11
Frequency2 months 1 week
Last Release
embed Perl5 to node.js

CVE History

CVEAffectedPublishedCVSS v3CVSS v2
<= 5.43.109.8 CRITICAL

Perl versions through 5.43.10 have a heap buffer overflow when compiling regular expressions with a repeated fixed string on 32-bit builds. Perl_study_chunk in regcomp_study.c checked the size of the joined substring buffer in characters rather than bytes. For a quantified fixed substring with a large minimum count, the byte length mincount * l could overflow SSize_t, producing an undersized SvGROW allocation; the subsequent copy writes past the end of the buffer. A caller that compiles an attacker-controlled regular expression on a 32-bit perl build triggers a heap buffer overflow at compile time.

>= 5.9.4, < 5.40.4, >= 5.41.0, < 5.42.2, >= 5.43.0, < 5.43.99.8 CRITICAL

Perl versions from 5.9.4 before 5.40.4-RC1, from 5.41.0 before 5.42.2-RC1, from 5.43.0 before 5.43.9 contain a vulnerable version of Compress::Raw::Zlib. Compress::Raw::Zlib is included in the Perl package as a dual-life core module, and is vulnerable to CVE-2026-3381 due to a vendored version of zlib which has several vulnerabilities, including CVE-2026-27171. The bundled Compress::Raw::Zlib was updated to version 2.221 in Perl blead commit c75ae9cc164205e1b6d6dbd57bd2c65c8593fe94.

>= 5.33.1, < 5.38.4, >= 5.39.0, < 5.40.2, >= 5.41.0, <= 5.41.108.4 HIGH

A heap buffer overflow vulnerability was discovered in Perl. Release branches 5.34, 5.36, 5.38 and 5.40 are affected, including development versions from 5.33.1 through 5.41.10. 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 and possibly Code Execution attacks on platforms that lack sufficient defenses.

< 5.32.17.8 HIGH

A vulnerability was found in Perl. This security issue occurs while Perl for Windows relies on the system path environment variable to find the shell (`cmd.exe`). When running an executable that uses the Windows Perl interpreter, Perl attempts to find and execute `cmd.exe` within the operating system. However, due to path search order issues, Perl initially looks for cmd.exe in the current working directory. This flaw allows an attacker with limited privileges to place`cmd.exe` in locations with weak permissions, such as `C:\ProgramData`. By doing so, arbitrary code can be executed when an administrator attempts to use this executable from these compromised locations.

>= 5.30.0, <= 5.38.07 HIGH

A vulnerability was found in perl 5.30.0 through 5.38.0. This issue occurs when a crafted regular expression is compiled by perl, which can allow an attacker controlled byte buffer overflow in a heap allocated buffer.

= *

Rejected reason: DO NOT USE THIS CVE RECORD. ConsultIDs: CVE-2023-47038. Reason: This record is a duplicate of CVE-2023-47038. Notes: All CVE users should reference CVE-2023-47038 instead of this record. All references and descriptions in this record have been removed to prevent accidental usage.

= 5.34.09.8 CRITICAL

In Perl 5.34.0, function S_find_uninit_var in sv.c has a stack-based crash that can lead to remote code execution or local privilege escalation.

< 5.38.08.1 HIGH

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS.

< 5.38.08.1 HIGH

HTTP::Tiny before 0.083, a Perl core module since 5.13.9 and available standalone on CPAN, has an insecure default TLS configuration where users must opt in to verify certificates.

<= 5.34.07.8 HIGH6.8 MEDIUM

Encode.pm, as distributed in Perl through 5.34.0, allows local users to gain privileges via a Trojan horse Encode::ConfigLocal library (in the current working directory) that preempts dynamic module loading. Exploitation requires an unusual configuration, and certain 2021 versions of Encode.pm (3.05 through 3.11). This issue occurs because the || operator evaluates @INC in a scalar context, and thus @INC has only an integer value.

< 5.30.37.5 HIGH5 MEDIUM

regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted regular expression because of recursive S_study_chunk calls.

< 5.30.38.6 HIGH7.5 HIGH

Perl before 5.30.3 has an integer overflow related to mishandling of a "PL_regkind[OP(n)] == NOTHING" situation. A crafted regular expression could lead to malformed bytecode with a possibility of instruction injection.

< 5.30.38.2 HIGH6.4 MEDIUM

Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers have an integer overflow.

< 5.26.3, >= 5.28.0, < 5.28.17.5 HIGH

Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.

< 5.26.37.5 HIGH

Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations.

< 5.26.36.4 MEDIUM

Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive information from process memory.

< 5.26.3, >= 5.28.0, < 5.28.17.5 HIGH

Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.

<= 5.26.26.4 MEDIUM

In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite arbitrary files, via an archive file containing a symlink and a regular file with the same name.

>= 5.18, <= 5.267.5 HIGH

An issue was discovered in Perl 5.18 through 5.26. A crafted regular expression can cause a heap-based buffer overflow, with control over the bytes written.

>= 5.22, <= 5.265 MEDIUM

An issue was discovered in Perl 5.22 through 5.26. Matching a crafted locale dependent regular expression can cause a heap-based buffer over-read and potentially information disclosure.

< 5.26.27.5 HIGH

Heap-based buffer overflow in the pack function in Perl before 5.26.2 allows context-dependent attackers to execute arbitrary code via a large item count.

<= 5.24.2, = 5.26.07.5 HIGH

Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 on Windows allows attackers to execute arbitrary code via a long environment variable.

= 5.26.0, <= 5.24.26.4 MEDIUM

Buffer overflow in the S_grok_bslash_N function in regcomp.c in Perl 5 before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 allows remote attackers to disclose sensitive information or cause a denial of service (application crash) via a crafted regular expression with an invalid '\N{U+...}' escape.

= 5.26.0, <= 5.24.25 MEDIUM

Heap-based buffer overflow in the S_regatom function in regcomp.c in Perl 5 before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 allows remote attackers to cause a denial of service (out-of-bounds write) via a regular expression with a '\N{}' escape and the case-insensitive modifier.

= 5.227.5 HIGH

The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of-bounds read) and possibly execute arbitrary code via a crafted (1) drive letter or (2) pInName argument.

all versions5 MEDIUM

Buffer overflow in the DBD::mysql module before 4.037 for Perl allows context-dependent attackers to cause a denial of service (crash) via vectors related to an error message.

>= 5.25.0, < 5.25.3, >= 5.23.0, < 5.24.17.8 HIGH4.6 MEDIUM

The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which might allow local users to execute arbitrary code via a Trojan horse library under the current working directory.

= 5.003_92, = 5.21.1, = 5.9.3, = 5.14.1, = 5.8.0, = 5.003_97, = 5.6.0, = 5.17.11, = 5.24.1, = 5.22.3, = 5.19.6, = 5.17.4, = 5.12.0, = 5.9.5, = 5.8.4, = 5.004_04, = 5.18.3, = 5.18.2, = 5.15.6, = 5.003_24, = 5.16.0, = 5.13.10, = 5.003_12, = 5.003_03, = 5.18.4, = 5.004_02, = 5.22.0, = 5.21.7, = 5.16.3., = 5.15.3, = 5.15.2, = 5.12.4, = 5.12.1, = 5.005_01, = 5.24.0, = 5.20.2, = 5.21.4, = 5.17.9, = 5.17.1, = 5.13.8, = 1.0.16, = 5.003_97e, = 5.003_15, = 5.8.9, = 5.8.1, = 5.003_90, = 5.003_21, = 5.000, = 5.21.9, = 5.18.0, = 5.14.4, = 5.12.5, = 5.15.0, = 5.6, = 5.8, = 5.005_04, = 5.6.1, = 5.003_09, = 5.22.2, = 5.20.3, = 5.19.11, = 5.19.0, = 5.17.10, = 5.14.3, = 5.22.1, = 5.21.6, = 5.19.10, = 5.14.0, = 5.12.3, = 5.13.5, = 5.19.3, = 5.19.2, = 5.17.8, = 5.13.11, = 5.13.1, = 5.11.2, = 5.9.2, = 5.8.2, = 5.003_94, = 5.003_25, = 5.13.7, = 5.13.6, = 5.11.1, = 5.10.1, = 5.8.5, = 5.9.0, = 5.003_91, = 5.003_14, = 5.003_04, = 5.001, = 5.003_97j, = 5.003_97i, = 5.003_28, = 5.003_20, = 5.10, = 5.21.2, = 5.19.5, = 5.16.3, = 5.16.1, = 5.13.3, = 5.13.0, = 5.11.5, = 5.7.3, = 5.003_97g, = 5.003_97f, = 5.003_27, = 5.003_26, = 5.003_19, = 5.003_17, = 5.003_10, = 5.003_01, = 5.003, = 5.21.8, = 5.20.1, = 5.20.0, = 5.19.1, = 5.17.7.0, = 5.17.7, = 5.21.11, = 5.21.5, = 5.21.3, = 5.19.9, = 5.19.7, = 5.17.6, = 5.17.3, = 5.15.9, = 5.14.2, = 5.13.9, = 5.12.2, = 5.9.4, = 5.9.1, = 1.0.15, = 5.21.0, = 5.18.1, = 5.17.5, = 5.17.0, = 5.15.5, = 5.13.2, = 5.11.3, = 5.004, = 5.005, = 5.8.7, = 5.6.2, = 5.004_05, = 5.004_01, = 5.003_99a, = 5.003_97d, = 5.003_93, = 5.003_16, = 5.003_08, = 5.003_07, = 5.002_01, = 5.002, = 5.15.4, = 5.10.0, = 5.11.0, = 5.8.6, = 5.005_03, = 5.005_02, = 5.003_99, = 5.003_98, = 5.003_97c, = 5.003_97b, = 5.003_23, = 5.003_22, = 5.003_13, = 5.003_05, = 5.001n, = 5.003_97a, = 5.003_11, = 5.003_02, = 5.000o, = 5.21.10, = 5.19.8, = 5.19.4, = 5.16.2, = 5.17.2, = 5.15.8, = 5.15.7, = 5.15.1, = 5.13.4, = 5.11.4, = 5.8.8, = 5.8.3, = 5.004_03, = 5.003_97h, = 5.003_96, = 5.003_95, = 5.003_187.8 HIGH7.2 HIGH

(1) cpan/Archive-Tar/bin/ptar, (2) cpan/Archive-Tar/bin/ptardiff, (3) cpan/Archive-Tar/bin/ptargrep, (4) cpan/CPAN/scripts/cpan, (5) cpan/Digest-SHA/shasum, (6) cpan/Encode/bin/enc2xs, (7) cpan/Encode/bin/encguess, (8) cpan/Encode/bin/piconv, (9) cpan/Encode/bin/ucmlint, (10) cpan/Encode/bin/unidump, (11) cpan/ExtUtils-MakeMaker/bin/instmodsh, (12) cpan/IO-Compress/bin/zipdetails, (13) cpan/JSON-PP/bin/json_pp, (14) cpan/Test-Harness/bin/prove, (15) dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp, (16) dist/Module-CoreList/corelist, (17) ext/Pod-Html/bin/pod2html, (18) utils/c2ph.PL, (19) utils/h2ph.PL, (20) utils/h2xs.PL, (21) utils/libnetcfg.PL, (22) utils/perlbug.PL, (23) utils/perldoc.PL, (24) utils/perlivp.PL, and (25) utils/splain.PL in Perl 5.x before 5.22.3-RC2 and 5.24 before 5.24.1-RC2 do not properly remove . (period) characters from the end of the includes directory array, which might allow local users to gain privileges via a Trojan horse module under the current working directory.

<= 5.23.95 MEDIUM

The (1) S_reghop3, (2) S_reghop4, and (3) S_reghopmaybe3 functions in regexec.c in Perl before 5.24.0 allow context-dependent attackers to cause a denial of service (infinite loop) via crafted utf-8 data, as demonstrated by "a\x80."

< 5.23.97.5 HIGH5 MEDIUM

Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate environment variables in envp.

= 5.18.47.5 HIGH

Integer underflow in regcomp.c in Perl before 5.20, as used in Apple OS X before 10.10.5 and other products, allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via a long digit string associated with an invalid backreference within a regular expression.

<= 5.20.12.1 LOW

The Dumper method in Data::Dumper before 2.154, as used in Perl 5.20.1 and earlier, allows context-dependent attackers to cause a denial of service (stack consumption and crash) via an Array-Reference with many nested Array-References, which triggers a large number of recursive calls to the DD_dump function.

= 5.10, = 5.14.0, = 5.12.04.3 MEDIUM

The Perl_reg_numbered_buff_fetch function in Perl 5.10.0, 5.12.0, 5.14.0, and other versions, when running with debugging enabled, allows context-dependent attackers to cause a denial of service (assertion failure and application exit) via crafted input that is not properly handled when using certain regular expressions, as demonstrated by causing SpamAssassin and OCSInventory to crash.

= 5.14.1, = 5.8.4, = 5.12.0, = 5.13.10, = 5.12.4, = 5.8.9, = 5.12.1, = 5.8.2, = 5.8.10, = 5.10, = 5.12.3, = 5.13.7, = 5.13.6, = 5.13.11, = 5.8.5, = 5.10.0, = 5.11.2, = 5.13.3, = 5.11.1, = 5.13.1, = 5.13.0, = 5.14.3, = 5.13.5, = 5.13.8, = 5.14.0, = 5.11.4, = 5.11.5, = 5.16.2, = 5.8.6, = 5.11.3, = 5.12.2, = 5.13.2, = 5.8.3, = 5.10.1, = 5.11.0, = 5.14.2, = 5.16.0, = 5.16.1, = 5.8.7, = 5.8.8, = 5.13.4, = 5.13.97.5 HIGH

The rehash mechanism in Perl 5.8.2 through 5.16.x allows context-dependent attackers to cause a denial of service (memory consumption and crash) via a crafted hash key.

= 5.14.1, = 5.12.0, = 5.13.10, = 5.12.1, = 5.13.8, = 5.11.2, = 5.13.0, = 5.16.0, = 5.14.3, = 5.14.0, = 5.10.0, = 5.12.3, = 5.13.3, = 5.10, = 5.10.1, = 5.13.5, = 5.13.7, = 5.13.6, = 5.13.1, = 5.11.1, = 5.13.11, = 5.13.2, = 5.11.4, = 5.11.3, <= 5.16.2, = 5.16.1, = 5.11.0, = 5.12.2, = 5.13.4, = 5.11.5, = 5.13.9, = 5.14.27.5 HIGH

The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes and fully qualified method names during compilation of bracket notation, which allows context-dependent attackers to execute arbitrary commands via crafted input to an application that accepts translation strings from users, as demonstrated by the TWiki application before 5.1.3, and the Foswiki application 1.0.x through 1.0.10 and 1.1.x through 1.1.6.

= 2.10.0, = 2.10.3, = 5.8.0, = 2.6.4, = 5.6.0, = 2.3.0, = 2.11.3, = 2.15.0, = 2.17.1, = 2.16.1, = 2.7.2, = 1.42, = 5.13.10, = 5.12.0, = 2.4.0, = 2.8.7, = 2.11.6, = 1.44, = 5.8.4, = 5.8.1, = 5.8.9, = 2.8.5, = 2.11.2, = 2.10.7, = 2.11.0, = 2.11.1, = 5.13.0, = 5.13.3, = 5.13.8, = 5.12.1, = 5.9.2, = 2.18.1, = 2.7.1, = 1.47, = 1.41, = 5.13.6, = 5.12.3, = 5.8.5, = 2.11.4, = 1.20, = 5.14.0, = 5.13.5, = 5.11.1, = 5.11.2, = 5.8.2, = 2.2.1, = 2.6.2, = 2.2.2, = 1.01, = 5.13.7, = 5.13.11, = 5.10.0, = 5.8.10, = 5.6.1, = 2.17.0, = 2.1.0, = 2.5.0, = 2.11.5, = 2.10.6, = 1.22, = 1.21, = 5.13.2, = 5.10, = 5.10.1, = 2.15.1, = 2.8.0, = 2.6.3, = 2.10.2, = 2.10.1, = 2.9.2, = 2.12.0, = 2.13.0, = 2.11.7, = 2.11.8, = 5.13.4, = 5.11.4, = 5.8.7, = 5.8.3, = 5.8.8, = 2.1.1, = 2.7.0, = 2.6.6, = 2.10.4, = 2.9.0, = 2.8.2, = 1.49, = 1.45, = 1.31, = 5.11.0, = 5.11.3, = 2.17.2, = 2.1.3, = 2.1.2, = 2.2.0, = 2.6.0, = 2.6.1, = 2.8.6, = 2.8.4, = 2.8.3, = 2.10.5, = 1.40, = 1.32, = 1.00, <= 5.14.1, = 5.13.1, = 5.13.9, = 5.12.2, = 5.11.5, = 5.8.6, = 2.16.0, = 2.0.0, = 2.6.5, = 2.5.1, = 2.9.1, = 2.8.8, = 2.8.1, = 2.14.1, = 1.46, = 1.43, = 1.48, = 2.18.0, = 2.14.04.3 MEDIUM

The bsd_glob function in the File::Glob module for Perl before 5.14.2 allows context-dependent attackers to cause a denial of service (crash) via a glob expression with the GLOB_ALTDIRFUNC flag, which triggers an uninitialized pointer dereference.

= 5.14.1, = 5.12.0, = 5.12.4, = 5.12.1, = 5.14.0, = 5.12.3, = 5.12.2, = 5.14.27.5 HIGH

Heap-based buffer overflow in the Perl_repeatcpy function in util.c in Perl 5.12.x before 5.12.5, 5.14.x before 5.14.3, and 5.15.x before 15.15.5 allows context-dependent attackers to cause a denial of service (memory consumption and crash) or possibly execute arbitrary code via the 'x' string repeat operator.

all versions2.6 LOW

ProcessTable.pm in the Proc::ProcessTable module 0.45 for Perl, when TTY information caching is enabled, allows local users to overwrite arbitrary files via a symlink attack on /tmp/TTYDEVS.

= 0.97, = 0.91, = 2.10.0, = 2.10.3, = 2.6.4, = 2.3.0, = 2.11.3, = 2.15.0, = 2.17.1, = 2.11.1, = 2.11.0, = 2.8.5, = 2.4.0, = 1.42, = 2.7.2, = 0.98, = 0.96, = 0.89, = 0.81, = 0.80, = 2.16.1, = 2.11.6, = 2.10.7, = 2.11.2, = 2.8.7, = 1.44, = 0.64, = 2.17.0, = 2.13.0, = 2.10.1, = 2.5.0, = 2.1.0, = 1.20, = 1.01, = 0.71, = 0.62, = 0.61, <= 2.18.1, = 2.11.5, = 2.11.4, = 2.6.2, = 2.2.1, = 1.47, = 0.88, = 0.3, = 2.11.7, = 2.10.6, = 2.8.1, = 2.6.3, = 2.2.2, = 1.41, = 0.69, = 0.67, = 2.8.6, = 2.7.1, = 2.7.0, = 2.1.3, = 1.45, = 1.22, = 1.21, = 0.87, = 0.86, = 0.73, = 2.15.1, = 2.12.0, = 2.11.8, = 2.8.4, = 2.8.3, = 2.6.6, = 2.6.5, = 2.0.0, = 1.43, = 0.93, = 0.92, = 0.85, = 0.84, = 0.70, = 2.10.5, = 2.10.4, = 2.9.0, = 2.8.8, = 2.8.0, = 2.6.1, = 2.2.0, = 1.46, = 1.32, = 1.31, = 0.66, = 0.65, = 0.4, = 2.16.0, = 2.9.2, = 2.9.1, = 2.8.2, = 1.49, = 1.48, = 1.40, = 1.00, = 0.99, = 0.90, = 0.83, = 0.82, = 0.68, = 0.52, = 0.5, = 2.18.0, = 2.17.2, = 2.14.1, = 2.14.0, = 2.10.2, = 2.6.0, = 2.5.1, = 2.1.2, = 2.1.1, = 0.95, = 0.94, = 0.72, = 0.63, = 0.2, = 0.15 MEDIUM

Multiple format string vulnerabilities in dbdimp.c in DBD::Pg (aka DBD-Pg or libdbd-pg-perl) module before 2.19.0 for Perl allow remote PostgreSQL database servers to cause a denial of service (process crash) via format string specifiers in (1) a crafted database warning to the pg_warn function or (2) a crafted DBD statement to the dbd_st_prepare function.