CVE-2025-1149
JSON

2.3low

GNU Binutils ld xmalloc.c xstrdup memory leak

Severity
2.3low CVSS:4.0 by VulDB
Exploit likelihood
1.03% (higher than 63% of CVEs)
Published
Last changed
Assigned by
VulDB

Description

A vulnerability was found in GNU Binutils 2.43. It has been classified as problematic. This affects the function xstrdup of the file libiberty/xmalloc.c of the component ld. The manipulation leads to memory leak. It is possible to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. The code maintainer explains: "I'm not going to commit some of the leak fixes I've been working on to the 2.44 branch due to concern that would destabilise ld. All of the reported leaks in this bugzilla have been fixed on binutils master."

Affected

Product or packageVersionsReported by
GNU Binutils2.43CVE List, NVD

All scores

VulDB2.3low CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
VulDB3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
VulDB3.1low CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
VulDB2.6low CVSS:2.0AV:N/AC:H/Au:N/C:N/I:N/A:P
NVD3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Classification

CWE-401CWE-404

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

A vulnerability was found in GNU Binutils 2.43. It has been classified as problematic. This affects the function xstrdup of the file libiberty/xmalloc.c of the component ld. The manipulation leads to memory leak. It is possible to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. The code maintainer explains: "I'm not going to commit some of the leak fixes I've been working on to the 2.44 branch due to concern that would destabilise ld. All of the reported leaks in this bugzilla have been fixed on binutils master."

CVE List (de)

Es wurde eine Schwachstelle in GNU Binutils 2.43 ausgemacht. Sie wurde als problematisch eingestuft. Dabei betrifft es die Funktion xstrdup der Datei libiberty/xmalloc.c der Komponente ld. Dank der Manipulation mit unbekannten Daten kann eine memory leak-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs kann dabei über das Netzwerk erfolgen. Die Komplexität eines Angriffs ist eher hoch. Sie ist schwierig auszunutzen. Der Exploit steht zur öffentlichen Verfügung. Als bestmögliche Massnahme wird Patching empfohlen.

NVD (es)

Se ha encontrado una vulnerabilidad en GNU Binutils 2.43. Se ha clasificado como problemática. Afecta a la función xstrdup del archivo libiberty/xmalloc.c del componente ld. La manipulación provoca una fuga de memoria. Es posible iniciar el ataque de forma remota. La complejidad de un ataque es bastante alta. Se dice que la explotabilidad es difícil. El exploit se ha hecho público y puede utilizarse. Se recomienda aplicar un parche para solucionar este problema. El responsable del código explica: "No voy a enviar algunas de las correcciones de fugas en las que he estado trabajando a la rama 2.44 debido a la preocupación de que desestabilizarían ld. Todas las fugas informadas en este bugzilla se han solucionado en binutils master".

References

https://vuldb.com/?id.295053technical-description, third-party-advisory, vdb-entry
https://vuldb.com/?ctiid.295053permissions-required, signature, vdb-entry
https://sourceware.org/bugzilla/show_bug.cgi?id=32576exploit, issue-tracking
https://sourceware.org/bugzilla/attachment.cgi?id=15887broken-link, exploit
https://www.gnu.org/product

Sources

SourceRecordLicence
CVE ListCVE-2025-1149 changed 2025-02-10CVE Terms of Use
NVDCVE-2025-1149 changed 2026-06-17Public domain