Live threats

All CVEs / Gnu

CVE-2007-5795Gnu Emacs

Medium 6.3

Priority
38
CVSS 2.0
6.3
EPSS
0.7%
probability of exploitation in 30 days · percentile 50
Auth required
Yes
Published
Nov 2, 2007
Updated
Jun 16, 2026
Category
Application · Cross-platform
Vector
AV:L/AC:M/Au:N/C:N/I:C/A:C

What happens

The hack-local-variables function in Emacs before 22.2, when enable-local-variables is set to :safe, does not properly search lists of unsafe or risky variables, which might allow user-assisted attackers to bypass intended restrictions and modify critical program variables via a file containing a Local variables declaration.

Original NVD text.

What to do

  1. Apply the vendor's security update for Emacs.

Affected products (CPE)

VendorProductVersions
gnuemacs≤ 22.1

Official sources

References

Links published by the sources. Open them with care.