CyberRota Analysis
AI-GeneratedGNU Emacs versions prior to 31.0.91 are vulnerable to an integer overflow in the image loader for PBM/PPM/PGM formats, which can be exploited by attackers to leak sensitive heap memory contents through specially crafted images. This vulnerability arises from improper handling of large image dimensions and color indices, leading to potential exposure of memory beyond allocated buffers. Organizations using affected versions of GNU Emacs should prioritize patching to mitigate the risk of data leakage.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.