CVE-2007-5795

emacs insufficient safe mode checks

Published Nov 2, 2007 CVSS 2.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 7, 2024, 3:46 PM
Reserved
Nov 2, 2007, 12:00 AM
Status
Modified
Published
Nov 2, 2007, 10:46 PM
Modified
Jun 16, 2026, 10:46 PM
Severity
Moderate
Public date
Nov 2, 2007, 12:00 AM