Skip to content

CVE-2022-48339 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....

HighCVSS 7.8 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
ubuntu/emacs(Ubuntu:22.04) < 1:27.1+1-3ubuntu5.2 1:27.1+1-3ubuntu5.2
ubuntu/xemacs21(Ubuntu:22.04) All versions No fix listed
ubuntu/xemacs21-packages(Ubuntu:22.04) All versions No fix listed
GNU emacs <= 28.2 No fix listed
ubuntu/xemacs21(Ubuntu:24.04) All versions No fix listed
ubuntu/xemacs21-packages(Ubuntu:24.04) All versions No fix listed
ubuntu/xemacs21(Ubuntu:26.04) All versions No fix listed
ubuntu/xemacs21-packages(Ubuntu:26.04) All versions No fix listed
ubuntu/xemacs21(Ubuntu:26.10) All versions No fix listed
ubuntu/xemacs21-packages(Ubuntu:26.10) All versions No fix listed
debian/emacs(Debian:12) < 1:28.2+1-11 1:28.2+1-11
debian/emacs(Debian:14) < 1:28.2+1-11 1:28.2+1-11
debian/emacs(Debian:13) < 1:28.2+1-11 1:28.2+1-11

References