{
  "id": "CVE-2026-77219",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-77219",
  "published_at": "2026-08-21T20:20:45.314Z",
  "title": "GNU Emacs \u003c 31.0.91 Heap Over-Read via PBM/PPM/PGM Image Loader",
  "vendor": "GNU",
  "product": "Emacs",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "GNU Emacs before 31.0.91 contains an integer overflow in the PBM/PPM/PGM image loader that allows an attacker to leak heap memory contents by supplying a crafted image with large dimensions and an elevated max color index. The image loader multiplies image dimensions and channel count using signed integer arithmetic; for sufficiently large values, the result wraps to a negative number, bypassing the bounds check and causing the pixel reader to access heap memory past the end of the allocated buffer. The over-read contents are interpreted as pixel color values and rendered on screen.",
  "cwe": "CWE-190",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "GNU",
        "product": "Emacs",
        "ranges": [
          "\u003c 31.0.91"
        ],
        "fixed_in": [
          "31.0.91"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Emacs to 31.0.91 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://github.com/emacs-mirror/emacs/releases/tag/emacs-31.0.91"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/emacs-mirror/emacs/commit/b07e634e4cf45162ae0178e32092b040587f2c6c"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
