GNU Binutils ld xmalloc.c xstrdup memory leak (GNU Binutils)

CVE-2025-1149
LOW 2.3

At a glance

Source
NVD
EPSS
EPSS 0.58 % · percentile 47 ()
State
PUBLISHED
Published
Updated
Assigner
VulDB
NVD status
Analyzed

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."

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime
  • CWE-404 — Improper Resource Shutdown or Release

References

Scores

VersionScoreVectorScored by
CVSS 4.0LOW 2.3CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NVulDB
CVSS 3.1LOW 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:LVulDB
CVSS 3.0LOW 3.1CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:LVulDB
CVSS 2.0LOW 2.6AV:N/AC:H/Au:N/C:N/I:N/A:PVulDB
CVSS 4.0LOW 2.3CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · cna@vuldb.com (Secondary)
CVSS 3.1LOW 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:LNVD · cna@vuldb.com (Secondary)
CVSS 3.1LOW 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:LNVD · nvd@nist.gov (Primary)
CVSS 2.0LOW 2.6AV:N/AC:H/Au:N/C:N/I:N/A:PNVD · cna@vuldb.com (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
GNU · Binutilsaffected 2.43

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD