Live threats

All CVEs / Smarty

CVE-2008-1066Smarty

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
2.0%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Feb 28, 2008
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

The modifier.regex_replace.php plugin in Smarty before 2.6.19, as used by Serendipity (S9Y) and other products, allows attackers to call arbitrary PHP functions via templates, related to a '\0' character in a search string.

Original NVD text.

What to do

  1. Apply the vendor's security update for Smarty.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
smartysmarty≤ 2.6.18

Official sources

References

Links published by the sources. Open them with care.