Skip to content
Heist/ feed
Back to feed
Low

GNU Binutils ld xstrdup.c xstrdup memory leak

Type: advisorySources: OSV

A vulnerability classified as problematic has been found in GNU Binutils 2.43. Affected is the function xstrdup of the file xstrdup.c of the component ld. The manipulation leads to memory leak. It is possible to launch 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."

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-1152
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 05:18 UTC · Revision 1

Source evidence

GNU Binutils ld xstrdup.c xstrdup memory leak

core-osv · Original source

Published 10 Feb 2025, 18:00 UTC

A vulnerability classified as problematic has been found in GNU Binutils 2.43. Affected is the function xstrdup of the file xstrdup.c of the component ld. The manipulation leads to memory leak. It is possible to launch 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."

osv:CVE-2025-1152
Complete source record
{
  "id": "5106ee92c3106171415e698f26a77d873c34a1c9b8d287e8351b309027b6357c",
  "url": "https://osv.dev/vulnerability/CVE-2025-1152",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "GNU Binutils ld xstrdup.c xstrdup memory leak",
    "summary": "A vulnerability classified as problematic has been found in GNU Binutils 2.43. Affected is the function xstrdup of the file xstrdup.c of the component ld. The manipulation leads to memory leak. It is possible to launch 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.\"",
    "evidence": "osv:CVE-2025-1152",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-1152",
      "aliases": [
        "CVE-2025-1152"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://sourceware.org/git/binutils-gdb.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "57f3676f3e5266829a91880d61143ab9ecd617bd"
                },
                {
                  "last_affected": "57f3676f3e5266829a91880d61143ab9ecd617bd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnu:binutils:2.43:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.43"
                      },
                      {
                        "last_affected": "2.43"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.43",
            "binutils-2_43"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1152.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.069462958Z",
      "provider": "osv",
      "references": [
        "https://www.gnu.org/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1152.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-1152",
        "https://vuldb.com/?id.295056",
        "https://sourceware.org/bugzilla/show_bug.cgi?id=32576",
        "https://vuldb.com/?ctiid.295056",
        "https://sourceware.org/bugzilla/attachment.cgi?id=15887"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-401",
          "CWE-404"
        ],
        "cna_assigner": "VulDB",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.43"
                  },
                  {
                    "last_affected": "2.43"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1152.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-1152",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492636,
  "published_at": "2025-02-10T18:00:09.779+00:00"
}