CVE-2007-5795Gnu Emacs
Medium 6.3
Follow: this CVE · Gnu · Gnu Emacs We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 2.0
- 6.3
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 50
- Auth required
- Yes
- Published
- Nov 2, 2007
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Vector
AV:L/AC:M/Au:N/C:N/I:C/A:C
What happens
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.
What to do
- Apply the vendor's security update for Emacs.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gnu | emacs | ≤ 22.1 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.debian.org
- bugs.gentoo.org
- cvs.savannah.gnu.org
- docs.info.apple.com
- lists.apple.com
- osvdb.org
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- security.gentoo.org
- www.mandriva.com
- www.securityfocus.com
- www.ubuntu.com
- www.vupen.com
- www.vupen.com
- exchange.xforce.ibmcloud.com
- www.redhat.com