emacs insufficient safe mode checks
Published Nov 2, 2007
6.3
MEDIUMCVSS 2.0
EPSS 0.72%
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.
Affected products
Remediation
Red Hat statement
Not vulnerable. This issue did not affect versions of Emacs as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:M/Au:N/C:N/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.72% (0.00718) | 52.12th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.72% (0.00724) | 49.04th | v5 (v2026.06.15) |
| Mar 17, 2025 | 1.45% (0.01447) | 79.42th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.09% (0.00090) | 40.20th | v3 (v2023.03.01) |
| Jul 10, 2024 | 0.09% (0.00090) | 38.91th | v3 (v2023.03.01) |
| Feb 27, 2024 | 0.09% (0.00090) | 36.91th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.10% (0.00097) | 38.87th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.67% (0.04669) | 89.07th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.67% (0.04669) | 88.00th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.67% (0.04669) | 74.36th | v2 (v2022.01.01) |
No CWE recorded.
References (23)
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449008 x_refsource_CONFIRM
- http://bugs.gentoo.org/show_bug.cgi?id=197958 x_refsource_CONFIRM
- http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/files.el?r1=1.896.2.28&r2=1.896.2.29 x_refsource_CONFIRM
- http://docs.info.apple.com/article.html?artnum=307562 x_refsource_CONFIRM
- http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html vendor-advisoryx_refsource_APPLE
- http://osvdb.org/42060 vdb-entryx_refsource_OSVDB
- http://secunia.com/advisories/27508 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27627 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27728 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27984 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/29420 third-party-advisoryx_refsource_SECUNIA
- http://security.gentoo.org/glsa/glsa-200712-03.xml vendor-advisoryx_refsource_GENTOO
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:034 vendor-advisoryx_refsource_MANDRIVA
- http://www.securityfocus.com/bid/26327 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/usn-541-1 vendor-advisoryx_refsource_UBUNTU
- http://www.vupen.com/english/advisories/2007/3715 vdb-entryx_refsource_VUPEN
- http://www.vupen.com/english/advisories/2008/0924/references vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2007-5795 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=366801 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/38263 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2007-5795
- https://www.cve.org/CVERecord?id=CVE-2007-5795
- https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00524.html vendor-advisoryx_refsource_FEDORA
Change history (0)
No recorded changes yet.