cve.bz

CVE-2025-66865 gnu binutils: Stack-based Buffer Overflow

7.5 highExploit referenceEPSS 0.4%

High (7.5) in gnu binutils. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in function d_print_comp_inner in file cp-demangle.c in BinUtils 2.26 allows attackers to cause a denial of service via crafted PE file.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-12-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-66865 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-66865?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-66865?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-66865 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2025-66865

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2025-66865](https://cve.bz/cve/badge/CVE-2025-66865.svg)](https://cve.bz/cve/CVE-2025-66865)

HTML:

<a href="https://cve.bz/cve/CVE-2025-66865"><img src="https://cve.bz/cve/badge/CVE-2025-66865.svg" alt="CVE-2025-66865"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:binutils2.26

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14binutilsno fix listedDEBIAN-CVE-2025-66865
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 6 morebinutilsno fix listedUBUNTU-CVE-2025-66865
Red Hathummingbird:1binutils, binutils-gold, binutils-devel and 1 more0:2.45.1-5.hum1RHSA-2026:7098

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue is classified with a low severity primarily because binutils is not typically exposed to untrusted inputs in most environments, limiting the possibility of exploitation. Additionally, this stack overflow is only triggered during the parsing of a specially crafted file, requiring an attacker to convince a user to process this file with cxxfilt. Furthermore, binutils does not handle privileged operations, meaning that exploitation is unlikely to lead to system compromise or escalation of privileges. Also, the impact is limited to the application itself, without affecting the broader system or network security.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Hardened Imagesbinutils-main-2.45.1-5.hum1Fixed 2026-04-08RHSA-2026:7098
Red Hat Enterprise Linux 10binutilsFix deferred
Red Hat Enterprise Linux 10gcc-toolset-15-binutilsFix deferred
Red Hat Enterprise Linux 10gdbFix deferred
Red Hat Enterprise Linux 10mingw-binutilsFix deferred
Red Hat Enterprise Linux 6binutilsFix deferred
Red Hat Enterprise Linux 7binutilsFix deferred
Red Hat Enterprise Linux 7gdbFix deferred
Red Hat Enterprise Linux 8binutilsFix deferred
Red Hat Enterprise Linux 8gcc-toolset-14-binutilsFix deferred
Red Hat Enterprise Linux 8gcc-toolset-14-gdbFix deferred
Red Hat Enterprise Linux 8gcc-toolset-15-binutilsFix deferred
Red Hat Enterprise Linux 8gcc-toolset-15-gdbFix deferred
Red Hat Enterprise Linux 8gdbFix deferred
Red Hat Enterprise Linux 8mingw-binutilsFix deferred
Red Hat Enterprise Linux 9binutilsFix deferred
Red Hat Enterprise Linux 9gcc-toolset-14-binutilsFix deferred
Red Hat Enterprise Linux 9gcc-toolset-15-binutilsFix deferred
Red Hat Enterprise Linux 9gdbFix deferred
Red Hat Enterprise Linux 9mingw-binutilsFix deferred
3 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-66865.

References

Check your stackJSON