Descriptionemacs/lisp/progmodes/python.el in Emacs 22.1 and 22.2 imports Python script from the current working directory during editing of a Python file, which allows local users to execute arbitrary code via a Trojan horse Python file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs499568

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
xemacs21 (PTS)buster21.4.24-8fixed
sid, trixie21.4.24-12fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
emacs21source(unstable)(not affected)
xemacs21source(unstable)(not affected)


- emacs21 <not-affected> (doesn't provide the python functionality)
- xemacs21 <not-affected> (doesn't provide the python functionality)
This can happen with any Python script, just because Emacs autoloads one
doesn't make it much worse

Search for package or bug name: Reporting problems