← Vulnerability feed

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

CVE-2017-12883: Perl memory buffer overflow vulnerability

Perl · Perl

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.

9.1 CVSS 3.0 Critical EPSS 5.9% · top 7.0% CWE-119 · Memory buffer overflow
9.1CVSS 3.0 base score, v2 6.4
5.9%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
20References
17 Jun 2026Last modified by NVD

Description

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.

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

Affected products

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

References

LinkTags
http://mirror.cucumberlinux.com/cucumber/cucumber-1.0/source/lang-base/perl/patches/CVE-2017-12883.patch PatchThird Party Advisory
http://www.debian.org/security/2017/dsa-3982
http://www.securityfocus.com/bid/100852 Third Party AdvisoryVDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1492093 Issue TrackingPatchThird Party AdvisoryVDB Entry
https://perl5.git.perl.org/perl.git/commitdiff/2be4edede4ae226e2eebd4eff28cedd2041f300f#patch1 PatchVendor Advisory
https://perl5.git.perl.org/perl.git/log/refs/tags/v5.24.3-RC1 Release NotesVendor Advisory
https://perl5.git.perl.org/perl.git/log/refs/tags/v5.26.1-RC1 Release NotesVendor Advisory
https://rt.perl.org/Public/Bug/Display.html?id=131598
https://security.netapp.com/advisory/ntap-20180426-0001/
https://www.oracle.com/security-alerts/cpujul2020.html
http://mirror.cucumberlinux.com/cucumber/cucumber-1.0/source/lang-base/perl/patches/CVE-2017-12883.patch PatchThird Party Advisory
http://www.debian.org/security/2017/dsa-3982
http://www.securityfocus.com/bid/100852 Third Party AdvisoryVDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1492093 Issue TrackingPatchThird Party AdvisoryVDB Entry
https://perl5.git.perl.org/perl.git/commitdiff/2be4edede4ae226e2eebd4eff28cedd2041f300f#patch1 PatchVendor Advisory
https://perl5.git.perl.org/perl.git/log/refs/tags/v5.24.3-RC1 Release NotesVendor Advisory
https://perl5.git.perl.org/perl.git/log/refs/tags/v5.26.1-RC1 Release NotesVendor Advisory
https://rt.perl.org/Public/Bug/Display.html?id=131598
https://security.netapp.com/advisory/ntap-20180426-0001/
https://www.oracle.com/security-alerts/cpujul2020.html

Track CVE-2017-12883 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-12883), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.