← Vulnerability feed

Vulnerability record · CVE-2017-12837 · published 19 September 2017

CVE-2017-12837: Perl memory buffer overflow vulnerability

Perl · Perl

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.

7.5 CVSS 3.0 High EPSS 6.2% · top 6.7% CWE-119 · Memory buffer overflow
7.5CVSS 3.0 base score, v2 5.0
6.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
18References
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2017-12837 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-8376Perl vulnerabilityPerl 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 express…EPSS 0.48%9.8CVE-2026-4176Perl vulnerabilityPerl 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::Z…EPSS 0.81%9.8CVE-2022-48522Perl out-of-bounds write vulnerabilityIn 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.EPSS 2.6%9.8CVE-2018-18311Perl integer overflow vulnerabilityPerl 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.EPSS 12%9.8CVE-2018-18314Perl memory buffer overflow vulnerabilityPerl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations.EPSS 6.1%9.8CVE-2018-18312Perl memory buffer overflow vulnerabilityPerl 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.EPSS 12%9.8CVE-2018-6797Debian linux out-of-bounds write vulnerabilityAn 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 w…EPSS 6.5%9.8CVE-2018-6913Debian linux out-of-bounds write vulnerabilityHeap-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 c…EPSS 11%

Source: NIST National Vulnerability Database (record CVE-2017-12837), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.