CVE-2008-1066Smarty
High 7.5 No auth needed
Follow: this CVE · Smarty · Smarty We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Smarty.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| smarty | smarty | ≤ 2.6.18 |
Official sources
References
Links published by the sources. Open them with care.
- blog.s9y.org
- lists.opensuse.org
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- security.gentoo.org
- www.debian.org
- www.phpinsider.com
- www.securityfocus.com
- www.smarty.net
- exchange.xforce.ibmcloud.com
- www.redhat.com
- www.redhat.com
- www.redhat.com