6.9 MEDIUM
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): Passive (P)
- Vulnerable System Impact Confidentiality (VC): High (H)
- Vulnerable System Impact Integrity (VI): None (N)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Passive (P)
- Modified Vulnerable System Impact Confidentiality (MVC): High (H)
- Modified Vulnerable System Impact Integrity (MVI): None (N)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
Activity log
- Created suggestion
GNU Emacs < 31.0.91 Heap Over-Read via PBM/PPM/PGM Image Loader
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
-
Bug Report issue-tracking
-
Release Tag release-notes
-
Patch Commit patch
-
https://www.vulncheck.com/advisories/gnu-emacs-heap-over-read-via-pbm-ppm-pgm-i… third-party-advisory
Affected products
- <31.0.91
Matching in nixpkgs
pkgs.emacs
Extensible, customizable GNU text editor
pkgs.qemacs
Very small but powerful UNIX editor
pkgs.uemacs
Linus Torvalds's random version of microemacs with his personal modifications
-
nixos-unstable 4.0-unstable-2018-07-19
- nixpkgs-unstable 4.0-unstable-2018-07-19
- nixos-unstable-small 4.0-unstable-2018-07-19
-
nixos-26.05 4.0-unstable-2018-07-19
- nixos-26.05-small 4.0-unstable-2018-07-19
- nixpkgs-26.05-darwin 4.0-unstable-2018-07-19
pkgs.emacs30
Extensible, customizable GNU text editor
pkgs.emacs31
Extensible, customizable GNU text editor
pkgs.chemacs2
Emacs version switcher, improved
-
nixos-unstable 0-unstable-2023-01-20
- nixpkgs-unstable 0-unstable-2023-01-20
- nixos-unstable-small 0-unstable-2023-01-20
-
nixos-26.05 0-unstable-2023-01-20
- nixos-26.05-small 0-unstable-2023-01-20
- nixpkgs-26.05-darwin 0-unstable-2023-01-20
pkgs.emacs-gtk
Extensible, customizable GNU text editor
pkgs.emacs-nox
Extensible, customizable GNU text editor
pkgs.emacspeak
Emacs extension that provides spoken output
pkgs.emacs-pgtk
Extensible, customizable GNU text editor
pkgs.emacs30-nox
Extensible, customizable GNU text editor
pkgs.emacs31-nox
Extensible, customizable GNU text editor
pkgs.emacs30-gtk3
Extensible, customizable GNU text editor
pkgs.emacs30-pgtk
Extensible, customizable GNU text editor
pkgs.emacs31-gtk3
Extensible, customizable GNU text editor
pkgs.emacs31-pgtk
Extensible, customizable GNU text editor
pkgs.emacs-macport
Extensible, customizable GNU text editor - macport variant
pkgs.emacs-anywhere
Edit text from any macOS application in Emacs
-
nixos-unstable 0-unstable-2025-12-29
- nixpkgs-unstable 0-unstable-2025-12-29
- nixos-unstable-small 0-unstable-2025-12-29
-
nixos-26.05 0-unstable-2025-12-29
- nixos-26.05-small 0-unstable-2025-12-29
- nixpkgs-26.05-darwin 0-unstable-2025-12-29
pkgs.pinentry-emacs
GnuPG’s interface to passphrase input
pkgs.emacs30-macport
Extensible, customizable GNU text editor - macport variant
pkgs.emacs-lsp-booster
Emacs LSP performance booster
pkgs.parinfer-rust-emacs
Emacs centric fork of parinfer-rust
pkgs.emacsclient-commands
Collection of small shell utilities that connect to a local Emacs server
-
nixos-unstable 0-unstable-2023-09-22
- nixpkgs-unstable 0-unstable-2023-09-22
- nixos-unstable-small 0-unstable-2023-09-22
-
nixos-26.05 0-unstable-2023-09-22
- nixos-26.05-small 0-unstable-2023-09-22
- nixpkgs-26.05-darwin 0-unstable-2023-09-22
pkgs.haskellPackages.emacs-module
Utilities to write Emacs dynamic modules
pkgs.haskellPackages.yi-keymap-emacs
Emacs keymap for Yi editor
pkgs.haskellPackages.yi-emacs-colours
Simple mapping from colour names used in emacs to Color
pkgs.vscode-extensions.tuttieee.emacs-mcx
Awesome Emacs Keymap - VSCode emacs keybinding with multi cursor support
pkgs.gnomeExtensions.emacs-search-provider
Search for your Emacs projects easily
Package maintainers
-
@AndersonTorres Anderson Torres <torres.anderson.85@protonmail.com>
-
@adisbladis Adam Hose <adisbladis@gmail.com>
-
@jwiegley John Wiegley <johnw@newartisans.com>
-
@jian-lin Lin Jian <me@linj.tech>
-
@panchoh pancho horrillo <pancho@pancho.name>
-
@rlupton20 Richard Lupton <richard.lupton@gmail.com>
-
@DamienCassou Damien Cassou <damien@cassou.me>
-
@Icy-Thought Icy-Thought <gilganyx@pm.me>
-
@kfiz kfiz <doroerose@gmail.com>
-
@lolbinarycat binarycat <binarycat@envs.net>
-
@honnip Jung seungwoo <me@honnip.page>
-
@brsvh Burgess Chang <bsc@brsvh.org>
-
@fpletz Franz Pletz <fpletz@fnordicwalking.de>
-
@iblech Ingo Blechschmidt <iblech@speicherleck.de>
-
@networkException networkException <nix@nwex.de>