Source: smarty4
Version: 4.5.5-1
Severity: grave
Tags: security upstream
X-Debbugs-Cc: [email protected], Debian Security Team <[email protected]>

Hi,

The following vulnerability was published for smart4.

CVE-2026-82531[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-82531
    https://www.cve.org/CVERecord?id=CVE-2026-82531
[1] https://github.com/smarty-php/smarty/security/advisories/GHSA-3w63-v7pm-cq9x
[2] 
https://github.com/smarty-php/smarty/commit/1cba51cb813563eb61d963c83d28cd59f26b858d

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

Reply via email to