BSD Ports

Emacs -- Arbitrary code execution vulnerability

· CVE-2025-1244 · VuXML entry

Problem Description A shell injection vulnerability exists in GNU Emacs due to improper handling of custom man URI schemes. Impact Initially considered low severity, as it required user interaction with local files, it was later discovered that an attacker could exploit this vulnerability by tricking a user into visiting a specially crafted website or an HTTP URL with a redirect, leading to arbitrary shell command …

Affected versions

By system

0 still vulnerable, 4 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
DragonFlyeditors/emacs30.1_2,3 fixed
OpenBSDeditors/emacs31.1-gtk3 out of range, by version
NetBSDeditors/emacs30.2 not listed
MidnightBSDeditors/emacs31.1_5,3 out of range, by version
FreeBSDeditors/emacs31.1_3,3 fixed (530 days after)
DragonFlyeditors/emacs-devel31.0.50.20250315_1,3 fixed
MidnightBSDeditors/emacs-devel31.0.50.20250515_4,3 out of range, by version
FreeBSDeditors/emacs-devel32.0.50.20261019,3 fixed (496 days after)