CVE-2012-3479: Medium severity gnu Emacs vulnerability

Published Aug 25, 2012
·
Updated

lisp/files.el in Emacs 23.2, 23.3, 23.4, and 24.1 automatically executes eval forms in local-variable sections when the enable-local-variables option is set to :safe, which allows user-assisted remote attackers to execute arbitrary Emacs Lisp code via a crafted file.

Affected Software

4 affected components
gnu Emacs=23.2
gnu Emacs=23.3
gnu Emacs=23.4
gnu Emacs=24.1

Event History

Aug 25, 2012
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-3479?

CVE-2012-3479 has a moderate severity level, as it allows for arbitrary code execution through user-assisted methods.

2

How does CVE-2012-3479 affect Emacs users?

CVE-2012-3479 affects users by allowing crafted files to execute arbitrary Emacs Lisp code, compromising the user's environment.

3

How do I fix CVE-2012-3479?

To fix CVE-2012-3479, upgrade to a non-vulnerable version of Emacs that is beyond 24.1.

4

Which versions of Emacs are affected by CVE-2012-3479?

CVE-2012-3479 affects Emacs versions 23.2, 23.3, 23.4, and 24.1.

5

Can CVE-2012-3479 be exploited without user interaction?

CVE-2012-3479 cannot be exploited without user interaction, as it requires the user to open a malicious file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203