{
 "arch": "amd64",
 "findings": [
  {
   "affects": [
    "patch"
   ],
   "cvss": 7.5,
   "distro_severity": "negligible",
   "fix_state": "not-fixed",
   "fixed_in": [],
   "id": "CVE-2018-6952",
   "severity": "high",
   "title": "A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.",
   "url": "https://ubuntu.com/security/CVE-2018-6952"
  },
  {
   "affects": [
    "patch"
   ],
   "cvss": 5.5,
   "distro_severity": "negligible",
   "fix_state": "not-fixed",
   "fixed_in": [],
   "id": "CVE-2019-20633",
   "severity": "medium",
   "title": "GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file.",
   "url": "https://ubuntu.com/security/CVE-2019-20633"
  },
  {
   "affects": [
    "patch"
   ],
   "cvss": 5.5,
   "distro_severity": "negligible",
   "fix_state": "not-fixed",
   "fixed_in": [],
   "id": "CVE-2021-45261",
   "severity": "medium",
   "title": "An Invalid Pointer vulnerability exists in GNU patch 2.7 via the another_hunk function, which causes a Denial of Service.",
   "url": "https://ubuntu.com/security/CVE-2021-45261"
  },
  {
   "affects": [
    "patch"
   ],
   "cvss": 5.5,
   "distro_severity": "low",
   "fix_state": "not-fixed",
   "fixed_in": [],
   "id": "CVE-2026-56288",
   "severity": "medium",
   "title": "GNU patch is vulnerable to a NULL pointer dereference when processing a specially crafted unified-diff patch file. Improper handling of consecutive end-of-file newline markers can corrupt internal hunk (single block of changes in diff)\u2026",
   "url": "https://ubuntu.com/security/CVE-2026-56288"
  },
  {
   "affects": [
    "patch"
   ],
   "cvss": 5.5,
   "distro_severity": "low",
   "fix_state": "not-fixed",
   "fixed_in": [],
   "id": "CVE-2026-56289",
   "severity": "medium",
   "title": "GNU patch is vulnerable to a denial of service (DoS) due to improper validation of hunk (single block of changes in diff) line offsets in unified-diff input.",
   "url": "https://ubuntu.com/security/CVE-2026-56289"
  }
 ],
 "findings_changed_at": "2026-08-20T16:49:35Z",
 "image": "patch",
 "inputs": {
  "sbom_sha256": "f2aa25f683ef8d59fd2a71caf5dfd7536e8f75977a295c38a161bd29ef989b05"
 },
 "platform_digest": "sha256:ee4c46d860d5ad14b2f84f61d0e9877b158cc272b693ddfeb1fd3455fb50c4df",
 "project": "patch",
 "receipt_sha256": "e3d544e56658de10326147702c0d6cb39b28206ac669272d537e0ad03e6cb7f0",
 "scanner": "grype",
 "severity_counts": {
  "critical": 0,
  "high": 1,
  "low": 0,
  "medium": 4,
  "unknown": 0
 },
 "suppressed": [],
 "version": "2.8",
 "vex_applied": [
  "patch-2.8-amd64.vex.json",
  "patch-2.8-amd64.ubuntu-vex.json"
 ]
}
