Skip to content

CVE-2007-5795 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 attack...

MediumCVSS 6.3 EPSS 0.72% Public exploit
Published
Updated
Exploit status
Public exploit available

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
GNU emacs <= 22.1 after 22.1 Fixed

Affected products

ProductAffected versionsFixed in
GNU emacs <= 22.1 No fix listed

References