{"id":"CVE-2022-48339","aliases":["CVE-2022-48339"],"related":[],"kind":"vulnerability","state":"published","title":"An issue was discovered in GNU Emacs through 28.2.","summary":"An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed.","source":"cvelist"}],"published":"2023-02-20T00:00:00.000Z","modified":"2026-06-17T05:15:11.510Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-116","CWE-1116"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"28.2"}],"vendor":"gnu","product":"emacs","cpe":"cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=1b4dc4691c1f87fc970fbe568b43869a15ad0d4c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2023/dsa-5360","tags":["third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00008.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U6HDBUQNAH2WL4MHWCTUZLN7NGF7CHTK/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FLPQ4K6H2S5TY3L5UDN4K4B3L5RQJYQ6/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-03-18T15:19:02.543Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48339","url":"https://www.cve.org/CVERecord?id=CVE-2022-48339","licence":"CVE Terms of Use","modified":"2025-03-18T15:19:50.352Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48339","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48339","licence":"Public domain","modified":"2026-06-17T05:15:11.510Z"}],"updatedAt":"2026-11-25T22:58:18.725Z","epss":{"score":0.01163,"percentile":0.68191,"date":"2026-12-02T12:00:21.000Z"}}