Debian Security Advisory

DLA-2995-1 smarty3 -- LTS security update

Date Reported:
05 May 2022
Affected Packages:
Security database references:
In the Debian bugtracking system: Bug 1010375.
In Mitre's CVE dictionary: CVE-2021-21408, CVE-2021-29454.
More information:

Smarty3, a template engine for PHP, allowed template authors to run restricted static php methods. The same authors could also run arbitrary PHP code by crafting a malicious math string. If a math string was passed through as user provided data to the math function, remote users were able to run arbitrary PHP code as well.

For Debian 9 stretch, these problems have been fixed in version 3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u5.

We recommend that you upgrade your smarty3 packages.

For the detailed security status of smarty3 please refer to its security tracker page at:

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: