Buffer overflow in Perl
CVE-2017-12837
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.062 (93.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 93rd percentile — 93.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.062 · newest: 0.062 · change: 0.000
Affected products
- Perl — versions 5.26.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.debian.org/security/2017/dsa-3982 (vendor-advisory)
- www.securityfocus.com/bid/100860 (VDB Entry, Third Party Advisory, vdb-entry)
- www.oracle.com/security-alerts/cpujul2020.html
- perl5.git.perl.org/perl.git/log/refs/tags/v5.26.1-RC1 (Release Notes, Vendor Advisory)
- perl5.git.perl.org/perl.git/log/refs/tags/v5.24.3-RC1 (Release Notes, Vendor Advisory)
- security.netapp.com/advisory/ntap-20180426-0001/
- bugzilla.redhat.com/show_bug.cgi (Patch, VDB Entry, Third Party Advisory, Issue Tracking)
- rt.perl.org/Public/Bug/Display.html
- perl5.git.perl.org/perl.git/commitdiff/96c83ed78aeea1a0496dd2b2d935869a822dc8a5 (Patch, Vendor Advisory)
Frequently asked questions
- What is CVE-2017-12837?
- CVE-2017-12837 is a high-severity vulnerability in Perl, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.5/10. Published 2017-09-19.
- How severe is CVE-2017-12837?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2017-12837 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.