CVE-2007-5795: gnu emacs
Vulnerability summary
CVE-2007-5795 is a medium (CVSS 6.3) vulnerability in gnu emacs. EPSS estimates a 0.72% chance of exploitation in the next 30 days, higher than 52.9% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 02-11-2007PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
0.72%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
0.00 pp
From 0.72% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundGNU Emacs 22.1 - Local Variable Handling Code Execution
Maturity: weaponized
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Debian1 product
- emacs22< 22.1+1-2+lenny1
Gnu1 product
- emacs≤ 22.1
2 vendors · 2 products
References
19 links- www.redhat.com/archives/fedora-package-announce/2007-November/msg00524.htmlVendor AdvisoryX Refsource FEDORA
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=449008X Refsource CONFIRM
Show all 19 references
- bugs.gentoo.org/show_bug.cgi?id=197958X Refsource CONFIRM
- docs.info.apple.com/article.html?artnum=307562X Refsource CONFIRM