CVE-2021-45078 Memory corruption in n/a

High 7.8 Published Updated

A heap-based buffer overflow in GNU Binutils 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
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-45078?

CVE-2021-45078 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 15 Dec 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

stab_xcoff_builtin_type in stabs.c in GNU Binutils through 2.37 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. NOTE: this issue exists because of an incorrect fix for CVE-2018-12699.

Weakness: CWE-787

Which versions are affected by CVE-2021-45078?

It affects 5 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Gnu Binutils, Netapp Ontap Select Deploy Administration Utility, Redhat Enterprise Linux.

How do I fix CVE-2021-45078?

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-2021-45078 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-7032, CLSA-2022-1646084759, CLSA-2022-1646085735, CLSA-2023-1688677908, DEBIAN-CVE-2021-45078, GHSA-wg2c-jc4j-gg9c and 3 more.

Is CVE-2021-45078 in your software?

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

Check your SBOMs for free