Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2007-5795 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

No CVSS 3.x data is available for this CVE.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449008 CVE
http://bugs.gentoo.org/show_bug.cgi?id=197958 CVE
http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/files.el?r1=1.896.2.28&r2=1.896.2.29 CVE
http://docs.info.apple.com/article.html?artnum=307562 CVE
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html CVE

see all 38 references

Weakness Enumeration

CWE-IDCWE NameSource
NVD-CWE-OtherWeakness Not in a Standard CWE Category[email protected]

Affected Products

ProductVersions
debian debian linux
All versions

CPE

  • cpe:2.3:o:debian:debian_linux:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
gnu emacs
<= 22.1

CPE

  • cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2007-5795
NVD Published Date:
Nov 2, 2007
NVD Last Modified:
Jun 16, 2026
Source:
[email protected]
CVE-2007-5795 Details - Not Deferred