This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page.
View CVE-2026-82531 →
DEBIAN-CVE-2026-82531
Smarty before 4.5.8 and 5.x before 5.8.5 contains a code injection vulnerability where the top-level nocache_hash is never restored during extends:/mu...
Original description
The description as published by the source.
Smarty before 4.5.8 and 5.x before 5.8.5 contains a code injection vulnerability where the top-level nocache_hash is never restored during extends:/multi-component template inheritance, leaving it null. Attackers can supply assigned data containing a forged SmartyNocache marker that is copied verbatim into the regenerated PHP cache file, executing arbitrary PHP on include for remote code execution.
Source: OSV.dev (Open Source Vulnerabilities) OSV
Affected packages
Debian:12
smarty3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:13
smarty3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:14
smarty3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:12
smarty4
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:13
smarty4
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:14
smarty4
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
References
- advisory security-tracker.debian.org