Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-15939

dwarf2.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29, mishandles NULL files in a .debug_line file table, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted ELF file, related to concat_filename. NOTE: this issue is caused by an incomplete fix for CVE-2017-15023.

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

Source evidence

CVE-2017-15939

core-osv · Original source

Published 27 Oct 2017, 21:29 UTC

dwarf2.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29, mishandles NULL files in a .debug_line file table, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted ELF file, related to concat_filename. NOTE: this issue is caused by an incomplete fix for CVE-2017-15023.

osv:CVE-2017-15939
Complete source record
{
  "id": "a43d5bf134f20725edfe25a2c7fb09015648d136106b3c1b03718067055eb8c2",
  "url": "https://osv.dev/vulnerability/CVE-2017-15939",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-15939",
    "summary": "dwarf2.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29, mishandles NULL files in a .debug_line file table, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted ELF file, related to concat_filename. NOTE: this issue is caused by an incomplete fix for CVE-2017-15023.",
    "evidence": "osv:CVE-2017-15939",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-15939",
      "aliases": [
        "CVE-2017-15939"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://sourceware.org/git/binutils-gdb.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dd9a28c0966d13924fbd1096a724ae334954d830"
                },
                {
                  "last_affected": "dd9a28c0966d13924fbd1096a724ae334954d830"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnu:binutils:2.29:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.29"
                      },
                      {
                        "last_affected": "2.29"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.29",
            "binutils-2_29"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-15939.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:54.102985064Z",
      "provider": "osv",
      "references": [
        "https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git%3Bh=a54018b72d75abf2e74bf36016702da06399c1d9",
        "https://security.gentoo.org/glsa/201801-01",
        "https://blogs.gentoo.org/ago/2017/10/24/binutils-null-pointer-dereference-in-concat_filename-dwarf2-c-incomplete-fix-for-cve-2017-15023/",
        "https://sourceware.org/bugzilla/show_bug.cgi?id=22205"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-15939",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 438065,
  "published_at": "2017-10-27T21:29:00.277+00:00"
}