{
 "arch": "arm64",
 "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-26T12:56:45Z",
 "image": "patch",
 "inputs": {
  "sbom_sha256": "f65a6b3eb585d700d20d4e027f6a078415ab4c4255ab287bdbeac7f31d613dad"
 },
 "platform_digest": "sha256:8dac6ed1f210c49ce9ffe8bd2876f68307a53060d261c361f81c04bdf28a6d72",
 "project": "patch",
 "receipt_sha256": "01c366ef4715f0826a2bf43ca6d91cab4e15e69bdb4d518e5ab66d646bc4f66d",
 "scanner": "grype",
 "severity_counts": {
  "critical": 0,
  "high": 1,
  "low": 0,
  "medium": 4,
  "unknown": 0
 },
 "suppressed": [],
 "version": "2.8",
 "vex_applied": [
  "patch-2.8-arm64.vex.json",
  "patch-2.8-arm64.ubuntu-vex.json"
 ]
}
