CVE-2007-5795
mediumpriority · track · 35EPSS 0.007 · 54 %ileexploit · functionalEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- EDB-30736GNU Emacs 22.1 - Local Variable Handling Code Executionfunctional · exploit_db
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (38)
External citations — patches, advisories, analysis.
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449008enisa_euvd
- http://bugs.gentoo.org/show_bug.cgi?id=197958enisa_euvd
- http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/files.el?r1=1.896.2.28&r2=1.896.2.29enisa_euvd
- http://docs.info.apple.com/article.html?artnum=307562enisa_euvd
- http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.htmlenisa_euvd
- http://osvdb.org/42060enisa_euvd
- http://secunia.com/advisories/27508enisa_euvd
- http://secunia.com/advisories/27627enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan