Security mailing lists by PureSourceCode

CVE-2007-5795

MEDIUM 6.3CVSS 2.0

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
2 Nov 2007
Last modified
16 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.3 AV:L/AC:M/Au:N/C:N/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gnu emacs
cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*
<= 22.1

References

History

  • 25 Nov 2026 20:14 UTC ยท NVD: first stored (published 2 Nov 2007)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.