CVE-2018-6913 Memory corruption in n/a

Critical 9.8 Published Updated

A heap-based buffer overflow in Perl's pack function allows attackers to execute arbitrary code via a large item count.

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

CVE-2018-6913 is a critical memory corruption vulnerability in Canonical Ubuntu Linux, published on 17 Apr 2018. 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 pack function in Perl before 5.26.2 allows context-dependent attackers to execute arbitrary code via a large item count.

Weakness: CWE-787

Which versions are affected by CVE-2018-6913?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Perl Perl.

How do I fix CVE-2018-6913?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-6913, CLEANSTART-2026-TD24481, DEBIAN-CVE-2018-6913, DLA-1345-1, DSA-4172-1, GHSA-wrx2-mfgr-hgr7 and 2 more.

Is CVE-2018-6913 in your software?

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

Check your SBOMs for free