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 package | Versions | Reported by |
|---|---|---|
| GNU Binutils | 2.43 | CVE List, NVD |
All scores
| VulDB | 2.3low CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| VulDB | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L |
| VulDB | 3.1low CVSS:3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L |
| VulDB | 2.6low CVSS:2.0 | AV:N/AC:H/Au:N/C:N/I:N/A:P |
| NVD | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L |
Classification
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.295053 | technical-description, third-party-advisory, vdb-entry | |
| https://vuldb.com/?ctiid.295053 | permissions-required, signature, vdb-entry | |
| https://sourceware.org/bugzilla/show_bug.cgi?id=32576 | exploit, issue-tracking | |
| https://sourceware.org/bugzilla/attachment.cgi?id=15887 | broken-link, exploit | |
| https://www.gnu.org/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-1149 changed 2025-02-10 | CVE Terms of Use |
| NVD | CVE-2025-1149 changed 2026-06-17 | Public domain |