Advisory Published
Updated

CVE-2012-3479

First published: Sat 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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
GNU Emacs=23.2
GNU Emacs=23.3
GNU Emacs=23.4
GNU Emacs=24.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203