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.
Published: 2007-11-02
Score: 6.3 Medium
EPSS: 1.2% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2007-5765 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.
Ubuntu USN Ubuntu USN USN-541-1 Emacs vulnerability
History

Wed, 28 May 2025 14:30:00 +0000

Type Values Removed Values Added
References

Thu, 22 May 2025 04:30:00 +0000


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-07T15:46:59.515Z

Reserved: 2007-11-02T00:00:00.000Z

Link: CVE-2007-5795

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2007-11-02T22:46:00.000

Modified: 2026-04-23T00:35:47.467

Link: CVE-2007-5795

cve-icon Redhat

Severity : Moderate

Publid Date: 2007-11-02T00:00:00Z

Links: CVE-2007-5795 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses