Affected versions
Ubuntu22.04:LTS/smarty3
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/smarty3
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/smarty4
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/smarty3
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/smarty4
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/smarty3
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/smarty4
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/smarty3
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/smarty3
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/smarty3
- Affected versions
- *
- Fixed version
- Not reported
Description
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.

