{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-53920 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2024-53920 is a high-severity code injection vulnerability in n/a, published on 27 Nov 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-53920 and fix it if it is affected.\n\nWhat it is: CVE-2024-53920 is a high-severity code injection vulnerability in n/a, published on 27 Nov 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-53920 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-53920/ (Markdown: https://insights.sbomify.com/CVE-2024-53920/index.md)","id":"CVE-2024-53920","markdown":"https://insights.sbomify.com/CVE-2024-53920/index.md","name":"CVE-2024-53920","record":{"aliases":["ALSA-2025:11030","ALSA-2025:4787","ALSA-2025:9448","AZL-53558","AZL-53703","DEBIAN-CVE-2024-53920","GHSA-8737-h7fg-9xgj","MGASA-2024-0397","OESA-2025-2760","RHSA-2025:11030","RHSA-2025:4787","RHSA-2025:4793","RHSA-2025:4794","RHSA-2025:9448","RLSA-2025:11030","RLSA-2025:4787","RLSA-2025:9448","SUSE-SU-2024:4392-1","SUSE-SU-2025:0798-1","UBUNTU-CVE-2024-53920","openSUSE-SU-2024:14591-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"GNU Emacs","requires_auth":"none","summary":"Attackers can execute arbitrary code by tricking users into completing or diagnosing untrusted Emacs Lisp source code in GNU Emacs.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"emacs","vendor":"gnu"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"In elisp-mode.el in GNU Emacs before 30.1, a user who chooses to invoke elisp-completion-at-point (for code completion) on untrusted Emacs Lisp source code can trigger unsafe Lisp macro expansion that allows attackers to execute arbitrary code. (This unsafe expansion also occurs if a user chooses to enable on-the-fly diagnosis that byte compiles untrusted Emacs Lisp source code.)","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.4::appstream","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Desktop Applications 15 SP5","SUSE:Linux Enterprise Module for Desktop Applications 15 SP6","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Code injection in n/a","id":"CVE-2024-53920","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":96,"n_references":6,"next":{"headline":"Path traversal in n/a","id":"CVE-2024-53921"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/almalinux/emacs","source":"ALSA-2025:11030"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/almalinux/emacs-common","source":"ALSA-2025:11030"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid","purl":"pkg:rpm/almalinux/emacs-lucid","source":"ALSA-2025:11030"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-nox","purl":"pkg:rpm/almalinux/emacs-nox","source":"ALSA-2025:11030"},{"ecosystem":"AlmaLinux:8","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-terminal","purl":"pkg:rpm/almalinux/emacs-terminal","source":"ALSA-2025:11030"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-11.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/almalinux/emacs","source":"ALSA-2025:4787"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-14.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/almalinux/emacs","source":"ALSA-2025:9448"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-11.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/almalinux/emacs-common","source":"ALSA-2025:4787"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-14.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/almalinux/emacs-common","source":"ALSA-2025:9448"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-11.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"emacs-filesystem","purl":"pkg:rpm/almalinux/emacs-filesystem","source":"ALSA-2025:4787"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-14.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"emacs-filesystem","purl":"pkg:rpm/almalinux/emacs-filesystem","source":"ALSA-2025:9448"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-11.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid","purl":"pkg:rpm/almalinux/emacs-lucid","source":"ALSA-2025:4787"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-14.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid","purl":"pkg:rpm/almalinux/emacs-lucid","source":"ALSA-2025:9448"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-11.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"emacs-nox","purl":"pkg:rpm/almalinux/emacs-nox","source":"ALSA-2025:4787"},{"ecosystem":"AlmaLinux:9","fixed":["1:27.2-14.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"emacs-nox","purl":"pkg:rpm/almalinux/emacs-nox","source":"ALSA-2025:9448"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/redhat/emacs","source":"RHSA-2025:11030"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/redhat/emacs-common","source":"RHSA-2025:11030"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-common-debuginfo","purl":"pkg:rpm/redhat/emacs-common-debuginfo","source":"RHSA-2025:11030"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-debuginfo","purl":"pkg:rpm/redhat/emacs-debuginfo","source":"RHSA-2025:11030"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-debugsource","purl":"pkg:rpm/redhat/emacs-debugsource","source":"RHSA-2025:11030"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid","purl":"pkg:rpm/redhat/emacs-lucid","source":"RHSA-2025:11030"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid-debuginfo","purl":"pkg:rpm/redhat/emacs-lucid-debuginfo","source":"RHSA-2025:11030"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-nox","purl":"pkg:rpm/redhat/emacs-nox","source":"RHSA-2025:11030"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-nox-debuginfo","purl":"pkg:rpm/redhat/emacs-nox-debuginfo","source":"RHSA-2025:11030"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-terminal","purl":"pkg:rpm/redhat/emacs-terminal","source":"RHSA-2025:11030"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/redhat/emacs","source":"RHSA-2025:11030"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["1:26.1-15.el8_10"],"introduced":["0"],"last_affected":[],"package":"emacs-filesystem","purl":"pkg:rpm/redhat/emacs-filesystem","source":"RHSA-2025:11030"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-11.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/redhat/emacs","source":"RHSA-2025:4787"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-14.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"emacs","purl":"pkg:rpm/redhat/emacs","source":"RHSA-2025:9448"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-11.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/redhat/emacs-common","source":"RHSA-2025:4787"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-14.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"emacs-common","purl":"pkg:rpm/redhat/emacs-common","source":"RHSA-2025:9448"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-11.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"emacs-common-debuginfo","purl":"pkg:rpm/redhat/emacs-common-debuginfo","source":"RHSA-2025:4787"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-14.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"emacs-common-debuginfo","purl":"pkg:rpm/redhat/emacs-common-debuginfo","source":"RHSA-2025:9448"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-11.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"emacs-debuginfo","purl":"pkg:rpm/redhat/emacs-debuginfo","source":"RHSA-2025:4787"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-14.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"emacs-debuginfo","purl":"pkg:rpm/redhat/emacs-debuginfo","source":"RHSA-2025:9448"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-11.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"emacs-debugsource","purl":"pkg:rpm/redhat/emacs-debugsource","source":"RHSA-2025:4787"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-14.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"emacs-debugsource","purl":"pkg:rpm/redhat/emacs-debugsource","source":"RHSA-2025:9448"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-11.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"emacs-filesystem","purl":"pkg:rpm/redhat/emacs-filesystem","source":"RHSA-2025:4787"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-14.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"emacs-filesystem","purl":"pkg:rpm/redhat/emacs-filesystem","source":"RHSA-2025:9448"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:27.2-11.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"emacs-lucid","purl":"pkg:rpm/redhat/emacs-lucid","source":"RHSA-2025:4787"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2024-53919"},"products":["n/a"],"published":"2024-11-27","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2007-6109","kev_date_added":null,"published":"2007-12-07"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2024-39331","kev_date_added":null,"published":"2024-06-23"},{"cvss_score":7.8,"headline":"Code injection in n/a","id":"CVE-2024-30202","kev_date_added":null,"published":"2024-03-25"},{"cvss_score":7.8,"headline":"Command injection in emacs","id":"CVE-2023-2491","kev_date_added":null,"published":"2023-05-17"},{"cvss_score":7.8,"headline":"emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections through a crafted mailto: URI.","id":"CVE-2023-27985","kev_date_added":null,"published":"2023-03-09"},{"cvss_score":7.8,"headline":"emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to Emacs Lisp code injections through a crafted mailto: URI with unescaped","id":"CVE-2023-27986","kev_date_added":null,"published":"2023-03-09"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-21","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code by tricking users into completing or diagnosing untrusted Emacs Lisp source code in GNU Emacs.","url":"https://insights.sbomify.com/CVE-2024-53920/"}