CVE History
| CVE | Affected | Published | CVSS v3 | CVSS v2 |
|---|---|---|---|---|
| <= 5.43.10 | 9.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.9 | 9.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.10 | 8.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.1 | 7.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.0 | 7 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.0 | 9.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.0 | 8.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.38.0 | 8.1 HIGH | — | ||
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. | ||||
| <= 5.34.0 | 7.8 HIGH | 6.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.3 | 7.5 HIGH | 5 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.3 | 8.2 HIGH | 6.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.30.3 | 8.6 HIGH | 7.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.26.3 | — | 7.5 HIGH | ||
Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. | ||||
| < 5.26.3 | — | 6.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.1 | — | 7.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.3, >= 5.28.0, < 5.28.1 | — | 7.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.2 | — | 6.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.26 | — | 7.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.26 | — | 5 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.2 | — | 7.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.0 | — | 7.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.2 | — | 6.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.2 | — | 5 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.22 | — | 7.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 versions | — | 5 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.1 | 7.8 HIGH | 4.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_18 | 7.8 HIGH | 7.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.9 | — | 5 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.9 | 7.5 HIGH | 5 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.4 | — | 7.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. | ||||