---
title: "Perl perl5 vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/perl/perl5
type: product
description: "Perl perl5 has 36 published CVEs, 0 in CISA KEV and 10 with public exploits."
updated: 2026-11-29
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Perl perl5 vulnerabilities

Vendor: [Perl](https://radicalnotion.ai/vendor/perl)

- **Published CVEs:** 36
- **In CISA KEV:** 0
- **With a public exploit:** 10
- **With a patch:** 36
- **Average CVSS:** 8.4
- **First CVE:** 2016-04-08
- **Latest CVE:** 2026-11-29

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 15 |
| High | 17 |
| Medium | 3 |
| Low | 0 |
| Unscored | 1 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-190](https://radicalnotion.ai/cwe/cwe-190) | Integer Overflow or Wraparound | 7 |
| [CWE-119](https://radicalnotion.ai/cwe/cwe-119) | Improper Restriction of Operations within the Bounds of a Memory Buffer | 5 |
| [CWE-787](https://radicalnotion.ai/cwe/cwe-787) | Out-of-bounds Write | 3 |
| [CWE-125](https://radicalnotion.ai/cwe/cwe-125) | Out-of-bounds Read | 3 |
| [CWE-122](https://radicalnotion.ai/cwe/cwe-122) | Heap-based Buffer Overflow | 3 |
| [CWE-295](https://radicalnotion.ai/cwe/cwe-295) | Improper Certificate Validation | 2 |
| [CWE-1395](https://radicalnotion.ai/cwe/cwe-1395) | Dependency on Vulnerable Third-Party Component | 1 |
| [CWE-121](https://radicalnotion.ai/cwe/cwe-121) | Stack-based Buffer Overflow | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2016 | 3 |
| 2017 | 3 |
| 2018 | 8 |
| 2019 | 0 |
| 2020 | 3 |
| 2021 | 1 |
| 2022 | 0 |
| 2023 | 4 |
| 2024 | 1 |
| 2025 | 2 |
| 2026 | 11 |

## Affected versions (top 12 of 587)

| Version | Kind | CVEs |
| --- | --- | --- |
| 5.22.0 | exact | 30 |
| 5.23.0 | exact | 30 |
| 5.23.1 | exact | 30 |
| 5.23.2 | exact | 30 |
| 5.23.3 | exact | 30 |
| 5.23.4 | exact | 30 |
| 5.23.6 | exact | 30 |
| 5.23.7 | exact | 30 |
| 5.24.0 | exact | 30 |
| if-0.0605 | exact | 30 |
| 5.18.0 | exact | 29 |
| 5.19.0 | exact | 29 |

## CVEs (first 30 of 36, most severe first)

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-40558 | Net::FTP versions before 3.17 for Perl connect the passive data channel to the address named in the server's PASV reply | none | - | No | No | Yes |
| CVE-2026-82560 | Pod::Text versions before 6.1.1 for Perl allow CPU and memory exhaustion formatting a POD document whose =over nesting drives the margin to the output width | high | 7.5 | No | No | Yes |
| CVE-2026-19487 | Perl versions from 5.9.4 before 5.41.9 produce incorrect regular expression match results when a stale failure flag ends the Aho-Corasick prescan early in S\_find\_byclass | medium | 5.3 | No | Yes | Yes |
| CVE-2026-15534 | Perl versions through 5.45.1 have out-of-bounds heap reads and writes during regular expression matching via an undersized superlinear cache in S\_regmatch | medium | 5.7 | No | No | Yes |
| CVE-2026-13221 | Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.10 produce silently incorrect regular expression matches when an alternation of more than 65535 fixed string branches is compiled into a trie in Perl\_study\_chunk | critical | 9.1 | No | No | Yes |
| CVE-2026-57432 | Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.11 have an integer overflow in S\_measure\_struct leading to an out-of-bounds heap read in pack and unpack | high | 8.4 | No | No | Yes |
| CVE-2026-57433 | Storable versions before 3.41 for Perl have a signed integer overflow when deserializing a crafted SX\_HOOK record | critical | 9.8 | No | No | Yes |
| CVE-2026-12087 | Socket versions before 2.041 for Perl have an out-of-bounds heap read | critical | 9.1 | No | No | Yes |
| CVE-2026-8376 | Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.11 have a heap buffer overflow when compiling regular expressions with a repeated fixed string on 32-bit builds | critical | 9.8 | No | No | Yes |
| CVE-2017-20230 | Storable versions before 3.05 for Perl has a stack overflow | critical | 10.0 | No | No | Yes |
| CVE-2026-4176 | 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 | critical | 9.8 | No | No | Yes |
| CVE-2025-40909 | Perl threads have a working directory race condition where file operations may target unintended paths | medium | 5.9 | No | Yes | Yes |
| CVE-2024-56406 | Perl is vulnerable to a heap buffer overflow when transliterating non-ASCII bytes | high | 8.6 | No | No | Yes |
| CVE-2023-47039 | Perl: perl for windows binary hijacking vulnerability | high | 7.8 | No | No | Yes |
| CVE-2023-47038 | Perl: write past buffer end via illegal user-defined unicode property | high | 7.8 | No | No | Yes |
| CVE-2022-48522 | perl: stack-based crash in S\_find\_uninit\_var() | critical | 9.8 | No | Yes | Yes |
| CVE-2023-31486 | http-tiny: perl: insecure TLS cert default | high | 8.1 | No | No | Yes |
| CVE-2023-31484 | perl: CPAN.pm does not verify TLS certificates when downloading distributions over HTTPS | high | 8.1 | No | Yes | Yes |
| CVE-2021-36770 | perl-Encode: bug in local configuration loading allows arbitrary Perl code execution placed under the current working directory | high | 7.8 | No | No | Yes |
| CVE-2020-12723 | perl: corruption of intermediate language state of compiled regular expression due to recursive S\_study\_chunk() calls leads to DoS | high | 7.5 | No | No | Yes |
| CVE-2020-10878 | perl: corruption of intermediate language state of compiled regular expression due to integer overflow leads to DoS | high | 8.6 | No | No | Yes |
| CVE-2020-10543 | perl: heap-based buffer overflow in regular expression compiler leads to DoS | high | 8.2 | No | No | Yes |
| CVE-2018-18314 | perl: Heap-based buffer overflow in S\_regatom() | critical | 9.8 | No | Yes | Yes |
| CVE-2018-18313 | perl: Heap-based buffer read overflow in S\_grok\_bslash\_N() | critical | 9.1 | No | Yes | Yes |
| CVE-2018-18311 | perl: Integer overflow leading to buffer overflow in Perl\_my\_setenv() | critical | 9.8 | No | No | Yes |
| CVE-2018-18312 | perl: Heap-based buffer overflow in S\_handle\_regex\_sets() | critical | 9.8 | No | Yes | Yes |
| CVE-2018-12015 | perl: Directory traversal in Archive::Tar | high | 7.5 | No | Yes | Yes |
| CVE-2018-6913 | perl: heap buffer overflow in pp\_pack.c | critical | 9.8 | No | No | Yes |
| CVE-2018-6798 | perl: heap read overflow in regexec.c | high | 7.5 | No | No | Yes |
| CVE-2018-6797 | perl: heap write overflow in regcomp.c | critical | 9.8 | No | No | Yes |

## Frequently asked questions

### How many CVEs does Perl perl5 have?

Perl perl5 has 36 published CVE records since 2016.

### How many Perl perl5 CVEs are in CISA KEV?

None of Perl perl5's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Perl perl5 vulnerabilities?

Yes — 10 of Perl perl5's CVEs have a known public exploit.

### Which versions of Perl perl5 are affected?

587 distinct Perl perl5 versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in Perl perl5 CVEs?

Perl perl5's CVEs most often map to these CWE weakness types: CWE-190 (Integer Overflow or Wraparound), CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), CWE-787 (Out-of-bounds Write), CWE-125 (Out-of-bounds Read).

### How many critical Perl perl5 vulnerabilities are there?

Perl perl5 has 15 critical and 17 high-severity CVEs.

### What is the average severity of Perl perl5 CVEs?

The average CVSS base score across Perl perl5's scored CVEs is 8.4.

## Other products from this vendor

- [perl](https://radicalnotion.ai/vendor/perl/perl) (62 CVEs)
- [dbi](https://radicalnotion.ai/vendor/perl/dbi) (10 CVEs)
- [database interface](https://radicalnotion.ai/vendor/perl/database-interface) (2 CVEs)
- [file::path](https://radicalnotion.ai/vendor/perl/file-path) (2 CVEs)
- [cgi application module](https://radicalnotion.ai/vendor/perl/cgi-application-module) (1 CVEs)
- [cgi lite](https://radicalnotion.ai/vendor/perl/cgi-lite) (1 CVEs)
- [comprehensive perl archive network](https://radicalnotion.ai/vendor/perl/comprehensive-perl-archive-network) (1 CVEs)
- [convert uulib](https://radicalnotion.ai/vendor/perl/convert-uulib) (1 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/perl/perl5). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
