Skip to main content
CVE-2026-77219VulnerabilityPublished Updated

Emacs24: GNU Emacs before 31.0.91 contains an integer overflow in the PBM/PPM/PGM image loader that allows an attacker

Affects emacs24Source GCVE Database

0
Compare
Authoritative record:CVE-2026-77219· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.06.9
CNA (VulnCheck)CVSS 3.17.1
EPSS
0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10emacspkg:deb/ubuntu/emacs?arch=source&distro=stonkingOther threatsAffected
  • =1:30.2+1-2ubuntu1
  • =1:30.2+1-6ubuntu1
  • =1:30.2+1-11ubuntu1
Fixed in–
Ubuntu 26.10xemacs21pkg:deb/ubuntu/xemacs21?arch=source&distro=stonkingOther threatsAffected
  • =21.4.24-12build3
Fixed in–
Ubuntu 26.10xemacs21-packagespkg:deb/ubuntu/xemacs21-packages?arch=source&distro=stonkingOther threatsAffected
  • =2009.02.17.dfsg.3-3build1
Fixed in–
Ubuntu 26.04 LTSxemacs21pkg:deb/ubuntu/xemacs21?arch=source&distro=resoluteOther threatsAffected
  • =21.4.24-12build3
Fixed in–
Ubuntu 26.04 LTSxemacs21-packagespkg:deb/ubuntu/xemacs21-packages?arch=source&distro=resoluteOther threatsAffected
  • =2009.02.17.dfsg.3-3
  • =2009.02.17.dfsg.3-3build1
Fixed in–
Ubuntu Pro 26.04 LTSemacspkg:deb/ubuntu/emacs?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • 1:30.1+1-9ubuntu1 – 1:30.2+1-2ubuntu1+esm1
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…