CVE-2009-1669: Smarty

High severity, CVSS 10.0. EPSS: 14.1% chance of exploitation in the next 30 days.

The smarty_function_math function in libs/plugins/function.math.php in Smarty 2.6.22 allows context-dependent attackers to execute arbitrary commands via shell metacharacters in the equation attribute of the math function. NOTE: some of these details are obtained from third party information.

Affected products

  • Smarty Smarty: version 2.6.22 only

Published 2009-05-18. Last modified 2026-06-16.