Vulnerability · Published Feb 11, 2025 · Assigned by VulDB

CVE-2025-1176GNU Binutils ld elflink.c _bfd_elf_gc_mark_rsec heap-based overflow

Medium 5.0

In plain English

A medium-severity heap buffer overflow in Binutils from GNU. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.0Medium
Exploit odds (30 days)0.7%top 47.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A vulnerability was found in GNU Binutils 2.43 and classified as critical. This issue affects the function _bfd_elf_gc_mark_rsec of the file elflink.c of the component ld. The manipulation leads to heap-based buffer overflow. The attack may be initiated remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. The patch is named f9978defb6fab0bd8583942d97c112b0932ac814. It is recommended to apply a patch to fix this issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12binutilsno fix listedDEBIAN-CVE-2025-1176
Debian:13binutilsno fix listedDEBIAN-CVE-2025-1176
Debian:14binutils2.45-3DEBIAN-CVE-2025-1176
Ubuntu:22.04:LTSbinutils2.38-4ubuntu2.8USN-7423-1
Ubuntu:22.04:LTSbinutils2.38-4ubuntu2.8UBUNTU-CVE-2025-1176
Ubuntu:24.04:LTSbinutils2.42-4ubuntu2.5USN-7423-1
Ubuntu:24.04:LTSbinutils2.42-4ubuntu2.5UBUNTU-CVE-2025-1176

Affected products (as reported)

VendorProductVersions
GNU Binutils 2.43

Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

References