{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "2.7"
              },
              {
                "last_affected": "2.43"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "ed13ccf1f789aecf1bbdabd4f9f7ff5af085278e"
            },
            {
              "last_affected": "f762ccf84f122d1354f103a151cba8bde797d521"
            }
          ],
          "repo": "https://sourceware.org/git/glibc.git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "glibc",
    "cwe_ids": [
      "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5450.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "2.7"
          },
          {
            "fixed": "*"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Calling the scanf family of functions with a %mc (malloc'd character match) in the GNU C Library version 2.7 to version 2.43 with a format width specifier with an explicit width greater than 1024 could result in a one byte heap buffer overflow.",
  "id": "CVE-2026-5450",
  "modified": "2026-07-08T05:36:00.534381897Z",
  "published": "2026-04-20T20:55:41.170Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5450.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5450"
    },
    {
      "type": "REPORT",
      "url": "https://sourceware.org/bugzilla/show_bug.cgi?id=CVE-2026-5450"
    },
    {
      "type": "ARTICLE",
      "url": "https://inbox.sourceware.org/libc-announce/b11f0003-6ec1-4bd6-b9de-9e38a4efeca3@redhat.com/T/#u"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "scanf %mc off-by-one heap buffer overflow"
}