{"id":"CVE-2012-3479","aliases":["DEBIAN-CVE-2012-3479","DSA-2603-1","EUVD-2012-3435","GHSA-fh9m-xg7x-wmp2"],"status":"published","title":"lisp/files.el in Emacs 23.2, 23.3, 23.4, and 24.1 automatically executes eval forms in local...","description":"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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03744,"percentile":0.89934,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2012-08-25T10:00:00Z","modified":"2026-06-16T23:43:18Z","fixes":[{"ecosystem":"Debian:6.0","package":"emacs23","fixed_in":["23.2+1-7+squeeze1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:6.0","package":"emacs23","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.2+1-7+squeeze1"}]}],"versions":["23.2+1-7"]}],"products":[{"vendor":"gnu","product":"emacs"}],"references":[{"url":"http://www.slackware.com/security/viewer.php?l=slackware-security\u0026y=2012\u0026m=slackware-security.420006","tags":["vendor-advisory","x_refsource_SLACKWARE","x_transferred"]},{"url":"http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12155","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-updates/2012-10/msg00057.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/50801","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2012/08/13/2","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-1586-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.securityfocus.com/bid/54969","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.securitytracker.com/id?1027375","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2012/08/13/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch"]},{"url":"http://secunia.com/advisories/50157","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:076","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://www.debian.org/security/2013/dsa-2603","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3479"},{"url":"https://github.com/advisories/GHSA-fh9m-xg7x-wmp2"}],"sources":{"cve":[{"id":"CVE-2012-3479","description":"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.","status":"published","published":"2012-08-25T10:00:00Z","modified":"2024-08-06T20:05:12.672Z","updated_at":"2026-11-02T14:34:50.615647Z"}],"euvd":[{"id":"EUVD-2012-3435","description":"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.","status":"published","published":"2012-08-25T10:00:00Z","modified":"2024-08-06T20:05:12Z","updated_at":"2026-11-03T01:56:10.882899Z"}],"ghsa":[{"id":"GHSA-fh9m-xg7x-wmp2","title":"lisp/files.el in Emacs 23.2, 23.3, 23.4, and 24.1 automatically executes eval forms in local...","description":"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.","status":"published","published":"2022-05-17T04:56:41Z","modified":"2023-01-28T05:02:59Z","updated_at":"2026-11-02T14:43:53.106327Z"}],"nvd":[{"id":"CVE-2012-3479","description":"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.","status":"published","published":"2012-08-25T10:29:51.52Z","modified":"2026-06-16T23:43:18.3Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:02:15.188652Z"}],"osv":[{"id":"DSA-2603-1","title":"emacs23 - programming error","status":"published","published":"2013-01-09T00:00:00Z","modified":"2026-03-09T01:19:47.546593Z","updated_at":"2026-11-02T15:46:15.489951Z"}]}}
