{"affected":[{"defaultStatus":"affected","ecosystem":"github","packageName":"emacs-mirror/emacs","product":"Emacs","source":"CNA: VulnCheck","vendor":"GNU","versions":[{"lessThan":"31.0.91","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-77219","cwes":["CWE-190","CWE-125"],"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.","epss":{"date":"2026-11-08","percentile":0.025,"score":0.00128},"exploits":[],"kev":null,"metrics":[{"score":6.9,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"score":7.1,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","version":"3.1"}],"modifiedAt":1794146935414,"publishedAt":1787343645314,"references":[{"source":"CNA: VulnCheck","tags":["issue-tracking"],"url":"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=81344"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/emacs-mirror/emacs/releases/tag/emacs-31.0.91"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/emacs-mirror/emacs/commit/b07e634e4cf45162ae0178e32092b040587f2c6c"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/gnu-emacs-heap-over-read-via-pbm-ppm-pgm-image-loader"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/emacs-mirror/emacs/commit/b07e634e4cf45162ae0178e32092b040587f2c6c"}],"revision":"4831d34c9e1c865c33b1b43bf036b130a6e22143067465c7e15a6b1c7d7b99fd","sources":[{"modifiedAt":1794146935414,"name":"CNA: VulnCheck","retrievedAt":1794151359897,"url":"https://www.cve.org/CVERecord?id=CVE-2026-77219"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1794151367281,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-77219"}],"ssvc":{"assessedAt":1787347965496,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"GNU Emacs < 31.0.91 Heap Over-Read via PBM/PPM/PGM Image Loader","updatedAt":1794151367281}