{"cve":"CVE-2007-5795","nvd":{"published":"2007-11-02T22:46:00.000","modified":"2026-06-16T22:46:50.370","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":null,"cwes":[],"references":["http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449008","http://bugs.gentoo.org/show_bug.cgi?id=197958","http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/files.el?r1=1.896.2.28&r2=1.896.2.29","http://docs.info.apple.com/article.html?artnum=307562","http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html"],"products":["gnu:emacs"],"source":"nvd","synced_at":"2026-10-19T19:48:28.501292361+00:00"},"epss":{"cve":"CVE-2007-5795","score":0.00718,"percentile":0.53866,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}