{
 "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-26T12:56:45Z",
 "image": "patch",
 "inputs": {
  "sbom_sha256": "83bc38cabe50ad838b1228f4554c00db1eb8f9361be50ca1c455afd331efd99a"
 },
 "platform_digest": "sha256:1ae8f07810b512e7c0e180b6462d7cd11dd0006e67d8a35642396e13c9c43213",
 "project": "patch",
 "receipt_sha256": "36bb9644b744ad51b5fb16a5c72ca5871d3258b4447b7a75991995fe8197b9ab",
 "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"
 ]
}
