Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-12448

The bfd_cache_close function in bfd/cache.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29 and earlier, allows remote attackers to cause a heap use after free and possibly achieve code execution via a crafted nested archive file. This issue occurs because incorrect functions are called during an attempt to release memory. The issue can be addressed by better input validation in the bfd_generic_archive_p function in bfd/archive.c.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-12448
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:21 UTC · Revision 1

Source evidence

CVE-2017-12448

core-osv · Original source

Published 4 Aug 2017, 15:29 UTC

The bfd_cache_close function in bfd/cache.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29 and earlier, allows remote attackers to cause a heap use after free and possibly achieve code execution via a crafted nested archive file. This issue occurs because incorrect functions are called during an attempt to release memory. The issue can be addressed by better input validation in the bfd_generic_archive_p function in bfd/archive.c.

osv:CVE-2017-12448
Complete source record
{
  "id": "95fe402f9f4451a21943f3f7dda8e2dff5de21bf49f2e92efd743a7bfe2941a0",
  "url": "https://osv.dev/vulnerability/CVE-2017-12448",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-12448",
    "summary": "The bfd_cache_close function in bfd/cache.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29 and earlier, allows remote attackers to cause a heap use after free and possibly achieve code execution via a crafted nested archive file. This issue occurs because incorrect functions are called during an attempt to release memory. The issue can be addressed by better input validation in the bfd_generic_archive_p function in bfd/archive.c.",
    "evidence": "osv:CVE-2017-12448",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-12448",
      "aliases": [
        "CVE-2017-12448"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://sourceware.org/git/binutils-gdb.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "dd9a28c0966d13924fbd1096a724ae334954d830"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnu:binutils:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.29"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "binutils-2_29",
            "gdb-8.0-branchpoint",
            "users/ARM/embedded-binutils-master-2016q4",
            "gdb-7.12-branchpoint",
            "gdb-7.11-branchpoint",
            "gdb-7.10-branchpoint",
            "gdb-7.9-branchpoint",
            "gdb-7.8-branchpoint",
            "gdb-7.7-branchpoint",
            "gdb_7_6-branchpoint",
            "gdb_7_5-branchpoint",
            "gdb_7_4-branchpoint",
            "gdb_7_3-branchpoint",
            "gdb_7_2-branchpoint",
            "gdb_7_1-branchpoint",
            "gdb_7_0-branchpoint",
            "gdb_6_8-branchpoint",
            "gdb_6_7-branchpoint",
            "gdb_6_6-branchpoint",
            "gdb_6_5-branchpoint",
            "gdb_6_4-branchpoint",
            "gdb_6_3-branchpoint",
            "gdb_6_2-branchpoint",
            "gdb_6_1-branchpoint",
            "gdb_6_0-branchpoint",
            "gdb_5_3-branchpoint",
            "gdb_5_2-branchpoint",
            "gdb-4_18-branchpoint"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12448.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:38.366671202Z",
      "provider": "osv",
      "references": [
        "https://sourceware.org/bugzilla/show_bug.cgi?id=21787"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-12448",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 434435,
  "published_at": "2017-08-04T15:29:00.323+00:00"
}