CVE-2026-6846 Binutils: binutils: arbitrary code execution via malformed xcoff object file processing

High 7.8 Published Updated

A heap-buffer-overflow in Binutils allows local attackers to execute arbitrary code or cause denial of service via crafted XCOFF 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-2026-6846?

CVE-2026-6846 is a high-severity memory corruption vulnerability in Gnu Binutils, published on 22 Apr 2026. 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

A flaw was found in binutils. A heap-buffer-overflow vulnerability exists when processing a specially crafted XCOFF (Extended Common Object File Format) object file during linking. A local attacker could trick a user into processing this malicious file, which could lead to arbitrary code execution, allowing the attacker to run unauthorized commands, or cause a denial of service, making the system unavailable.

Weakness: CWE-122

Which versions are affected by CVE-2026-6846?

It affects 4 products.

Products include Gnu Binutils, Redhat Enterprise Linux, Redhat Hardened Images, Redhat Openshift Container Platform.

How do I fix CVE-2026-6846?

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-2026-6846 being exploited?

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

All Gnu Binutils vulnerabilities

Sources

Also known as AZL-85514, AZL-85536, CLSA-2026-1782996728, CLSA-2026-1782997495, CLSA-2026-1783079440, CLSA-2026-1783081026 and 15 more.

Is CVE-2026-6846 in your software?

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

Check your SBOMs for free