Unscored severity · published Nov 2, 2007
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…
–
CVSS
0.7%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 54% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EM
Emacs · Gnu
through 22.1; through 22.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2007-5795
CVE.org
https://www.cve.org/CVERecord?id=CVE-2007-5795
bugs.debian.org
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449008
bugs.gentoo.org
http://bugs.gentoo.org/show_bug.cgi?id=197958
cvs.savannah.gnu.org
http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/files.el?r1=1.896.2.28&r2=1.896.2.29
docs.info.apple.com
http://docs.info.apple.com/article.html?artnum=307562
lists.apple.com
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
osvdb.org
http://osvdb.org/42060
More from Emacs
9.8
CVE-2024-39331
In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function, such as shell-command-to-string
9.8
CVE-2022-48337
GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etags.c uses the system C library function…
8.8
CVE-2017-14482
GNU Emacs before 25.3 allows remote attackers to execute arbitrary code via email with crafted "Content-Type: text/enriched" data containing an x-display XML element that…
7.8
CVE-2026-108976
GNU Emacs before 31.2 (and TRAMP through 2.8.2) allows OS command injection via a filename because tramp-user-regexp has an incomplete list of disallowed inputs
7.8
CVE-2024-53920
In elisp-mode.el in GNU Emacs before 30.1, a user who chooses to invoke elisp-completion-at-point (for code completion) on untrusted Emacs Lisp source code can trigger unsafe Lisp…
