Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-7226

The pe_ILF_object_p function in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable to a heap-based buffer over-read of size 4049 because it uses the strlen function instead of strnlen, leading to program crashes in several utilities such as addr2line, size, and strings. It could lead to information disclosure as well.

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

Source evidence

CVE-2017-7226

core-osv · Original source

Published 22 Mar 2017, 16:59 UTC

The pe_ILF_object_p function in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable to a heap-based buffer over-read of size 4049 because it uses the strlen function instead of strnlen, leading to program crashes in several utilities such as addr2line, size, and strings. It could lead to information disclosure as well.

osv:CVE-2017-7226
Complete source record
{
  "id": "cedeb14ce7cc273218be13f5169718f0d8b1031e9787108363cba77e66b29327",
  "url": "https://osv.dev/vulnerability/CVE-2017-7226",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-7226",
    "summary": "The pe_ILF_object_p function in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable to a heap-based buffer over-read of size 4049 because it uses the strlen function instead of strnlen, leading to program crashes in several utilities such as addr2line, size, and strings. It could lead to information disclosure as well.",
    "evidence": "osv:CVE-2017-7226",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2017-7226",
      "aliases": [
        "CVE-2017-7226"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://sourceware.org/git/binutils-gdb.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7fa393306ed8b93019d225548474c0540b8928f7"
                },
                {
                  "last_affected": "7fa393306ed8b93019d225548474c0540b8928f7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnu:binutils:2.28:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.28"
                      },
                      {
                        "last_affected": "2.28"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.28",
            "binutils-2_28"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7226.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:58.148677516Z",
      "provider": "osv",
      "references": [
        "https://sourceware.org/bugzilla/show_bug.cgi?id=20905"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-7226",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 439010,
  "published_at": "2017-03-22T16:59:00.26+00:00"
}