CVE-2018-12699 Memory corruption in n/a

Critical 9.8 Published Updated

A heap-based buffer overflow in GNU Binutils objdump allows attackers to cause denial of service or potentially execute arbitrary code via crafted files.

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

CVE-2018-12699 is a critical memory corruption vulnerability in Canonical Ubuntu Linux, published on 23 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

finish_stab in stabs.c in GNU Binutils 2.30 allows attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact, as demonstrated by an out-of-bounds write of 8 bytes. This can occur during execution of objdump.

Weakness: CWE-787

Which versions are affected by CVE-2018-12699?

It affects 2 products.

Linux distribution packages (9)
binutils AlmaLinux:8All versions2.30-125.el8_10
binutils-devel AlmaLinux:8All versions2.30-125.el8_10
binutils-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.30-125.el8_10
binutils-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:2.30-125.el8_10
binutils-devel Red Hat:enterprise_linux:8::appstreamAll versions0:2.30-125.el8_10
binutils Red Hat:enterprise_linux:8::baseosAll versions0:2.30-125.el8_10
binutils-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:2.30-125.el8_10
binutils-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:2.30-125.el8_10
binutils Rocky Linux:8All versions0:2.30-125.el8_10

Products include Canonical Ubuntu Linux, Gnu Binutils.

How do I fix CVE-2018-12699?

Apply the vendor's patch.

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

Is CVE-2018-12699 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALSA-2024:9689, CLSA-2024-1732554981, CLSA-2024-1732701075, CLSA-2024-1732701614, DEBIAN-CVE-2018-12699, GHSA-r4rx-vwmc-mj74 and 3 more.

Is CVE-2018-12699 in your software?

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

Check your SBOMs for free