CVE-2018-18312 Memory corruption in n/a
A buffer overflow in Perl allows attackers to trigger invalid write operations via crafted regular expressions, potentially leading to code execution or crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-18312?
CVE-2018-18312 is a critical memory corruption vulnerability in Canonical Ubuntu Linux, published on 5 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Perl 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.
Weakness: CWE-119
Which versions are affected by CVE-2018-18312?
It affects 8 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Netapp E-Series Santricity Os Controller, Netapp Snap Creator Framework, Netapp Snapcenter, Netapp Snapdrive and 2 more.
How do I fix CVE-2018-18312?
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-2018-18312 being exploited?
There is no known exploitation of CVE-2018-18312 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2018-18312, CLEANSTART-2026-EK84255, DEBIAN-CVE-2018-18312, GHSA-qj2w-cj4c-5f2g, UBUNTU-CVE-2018-18312.