Skip to content
OpenAdvisories
High DSA-5151-1 3 CVEs

smarty3 - security update

Published May 29, 2022 · Updated Mar 9, 2026

Fixed packages 2

ReleasePackageFixed in
Debian · 10 smarty3 3.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u1
Debian · 11 smarty3 3.1.39-2+deb11u1

Vulnerabilities 3

  • High 8.8

    Access to restricted PHP code by dynamic static class access in smarty

    Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.43 and 4.0.3, template authors could run restricted static php methods. Users should upgrade to version 3.1.43 or 4.0.3 t…

  • High 8.8
    CVE-2022-29221 Public exploit

    PHP Code Injection by malicious block or filename in Smarty

    Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.45 and 4.1.1, template authors could inject php code by choosing a malicious {block} name or {include} file name. Sites t…

  • High 8.1

    Sandbox Escape by math function in smarty

    Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.42 and 4.0.2, template authors could run arbitrary PHP code by crafting a malicious math string. If a math string was pas…