CVE-2017-12837 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can cause denial of service via a heap-based buffer overflow in Perl's regex engine using specific escape sequences.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-12837?

CVE-2017-12837 is a high-severity memory corruption vulnerability in n/a, published on 19 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2017-12837?

It affects 1 product.

Products include Perl Perl.

How do I fix CVE-2017-12837?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-12837 being exploited?

There is no known exploitation of CVE-2017-12837 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2017-12837, CLEANSTART-2026-NC70376, DEBIAN-CVE-2017-12837, GHSA-q52c-c9hv-jc77, UBUNTU-CVE-2017-12837.

Is CVE-2017-12837 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free