{"id":"DEBIAN-CVE-2026-95521","details":"A command injection flaw was found in rpm. Installing or rebuilding a source RPM whose source or spec file basenames contain a %() macro construct causes rpm to execute an attacker-controlled shell command via popen() while relocating the source file list. This allows arbitrary command execution as the invoking (typically non-root) user, simply by installing, rebuilding, or otherwise processing an untrusted .src.rpm.","modified":"2026-09-25T08:00:10.892431735Z","published":"2026-09-24T14:18:20.290Z","upstream":["CVE-2026-95521"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-95521"}],"affected":[{"package":{"name":"rpm","ecosystem":"Debian:12","purl":"pkg:deb/debian/rpm?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.18.0+dfsg-1","4.18.0+dfsg-1+deb12u1","4.18.2+dfsg-1","4.18.2+dfsg-1.1~exp1","4.18.2+dfsg-2","4.18.2+dfsg-2.1","4.18.2+dfsg-2.1~exp1","4.19.1.1+dfsg-1","4.19.1.1+dfsg-1~exp","4.20.0+dfsg-1","4.20.0+dfsg-2","4.20.0+dfsg-3","4.20.0+dfsg-4","4.20.1+dfsg-1","4.20.1+dfsg-2","4.20.1+dfsg-3","6.0.0-1","6.0.0-2","6.0.1-1","6.1.0-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-95521.json"}},{"package":{"name":"rpm","ecosystem":"Debian:13","purl":"pkg:deb/debian/rpm?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.20.1+dfsg-3","6.0.0-1","6.0.0-2","6.0.1-1","6.1.0-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-95521.json"}},{"package":{"name":"rpm","ecosystem":"Debian:14","purl":"pkg:deb/debian/rpm?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.20.1+dfsg-3","6.0.0-1","6.0.0-2","6.0.1-1","6.1.0-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-95521.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}