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

Published Apr 21, 2026
·
Updated

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.

Other sources

Binutils: binutils: arbitrary code execution via malformed xcoff object file processing

Microsoft

Heap-buffer-overflow WRITE in xcofflinkaddsymbols() in bfd/xcofflink.c. Triggered by malformed XCOFF object file during linking. Fixed upstream by Alan Modra.

Public reference: https://sourceware.org/bugzilla/showbug.cgi?id=34049 Affects binutils <= 2.46.

Red Hat

Affected Software

10 affected componentsFixes available
GNU binutils<=2.46
GNU binutils<=2.46
redhat Hardened Images
redhat OpenShift Container Platform=4.0
redhat Enterprise Linux=6.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=10.0
Microsoft azl3 binutils 2.41-11<2.41-12
2.41-12
Microsoft azl3 gdb 13.2-7<13.2-8
13.2-8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.41-12
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 13.2-8
  3. Upgrade

    Upgrade binutils to a version that resolves this vulnerability.

    Fixed in 2.46

Event History

Apr 21, 2026
Data Sourced
via Red Hat·08:08 AM
DescriptionSeverityAffected Software
Apr 22, 2026
CVE Published
via MITRE·08:37 AM
Data Sourced
via MITRE·08:37 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 AM
DescriptionSeverityWeaknessAffected Software
May 3, 2026
Data Sourced
via Microsoft·08:02 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:02 AM
Affected Software
Updated
via Microsoft·08:02 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6846?

CVE-2026-6846 is classified as a high severity vulnerability due to its potential for arbitrary code execution.

2

How do I fix CVE-2026-6846?

To mitigate CVE-2026-6846, users should upgrade to a version of GNU binutils that is higher than 2.46.

3

Who is affected by CVE-2026-6846?

CVE-2026-6846 affects users of GNU binutils versions up to and including 2.46.

4

What type of vulnerability is CVE-2026-6846?

CVE-2026-6846 is a heap-buffer-overflow vulnerability that occurs when processing malformed XCOFF object files.

5

Can CVE-2026-6846 be exploited remotely?

CVE-2026-6846 requires local access for exploitation, as it involves processing specific object files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203