CVE-2017-12814 Memory corruption in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code on Windows systems by exploiting a stack-based buffer overflow in the Perl interpreter via long environment variables.

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-12814?

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

Official description

Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 on Windows allows attackers to execute arbitrary code via a long environment variable.

Weakness: CWE-119

Which versions are affected by CVE-2017-12814?

It affects 1 product.

Products include Perl Perl.

How do I fix CVE-2017-12814?

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-12814 being exploited?

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

Sources

Also known as GHSA-6g5g-x3hj-6v2x.

Is CVE-2017-12814 in your software?

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

Check your SBOMs for free