Skip to content
Heist/ feed
Back to feed
Low

GNU Binutils ld xmemdup.c xmemdup memory leak

Type: advisorySources: OSV

A vulnerability was found in GNU Binutils 2.43. It has been rated as problematic. This issue affects the function xmemdup of the file xmemdup.c of the component ld. The manipulation leads to memory leak. 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. 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-1151
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 03:52 UTC · Revision 1

Source evidence

GNU Binutils ld xmemdup.c xmemdup memory leak

core-osv · Original source

Published 10 Feb 2025, 17:00 UTC

A vulnerability was found in GNU Binutils 2.43. It has been rated as problematic. This issue affects the function xmemdup of the file xmemdup.c of the component ld. The manipulation leads to memory leak. 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. 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-1151
Complete source record
{
  "id": "7c1cda7972c507ea930cea7607cd4cef6350a16efd4145e3938687a7731a48c5",
  "url": "https://osv.dev/vulnerability/CVE-2025-1151",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "GNU Binutils ld xmemdup.c xmemdup memory leak",
    "summary": "A vulnerability was found in GNU Binutils 2.43. It has been rated as problematic. This issue affects the function xmemdup of the file xmemdup.c of the component ld. The manipulation leads to memory leak. 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. 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-1151",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-1151",
      "aliases": [
        "CVE-2025-1151"
      ],
      "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-1151.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.858154472Z",
      "provider": "osv",
      "references": [
        "https://www.gnu.org/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1151.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-1151",
        "https://vuldb.com/?id.295055",
        "https://sourceware.org/bugzilla/show_bug.cgi?id=32576",
        "https://vuldb.com/?ctiid.295055",
        "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-1151.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-1151",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500148,
  "published_at": "2025-02-10T17:00:10.236+00:00"
}