# CVE-2008-1066

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2008-02-28 · Modified: 2024-08-07
- Aliases: DSA-1520-1
- Record: https://cvemate.com/vulnerability/CVE-2008-1066 · JSON: https://cvemate.com/vulnerability/CVE-2008-1066/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v2.0, NVD) AV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS: 1.954%, percentile 81.006%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian smarty (Debian): \< 2.6.9-1sarge1 \| \< 2.6.14-1etch1
- smarty smarty: ≤ 2.6.18

## References

- <http://secunia.com/advisories/29398>
- <http://secunia.com/advisories/29241>
- <http://www.debian.org/security/2008/dsa-1520>
- <http://www.phpinsider.com/smarty-forum/viewtopic.php?p=47652>
- <http://security.gentoo.org/glsa/glsa-201111-04.xml>
- <http://www.smarty.net/misc/NEWS>
- <http://secunia.com/advisories/29405>
- <https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00551.html>
- <http://secunia.com/advisories/29392>
- <http://secunia.com/advisories/29839>
- <http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00008.html>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/41002>
- <https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00358.html>
- <http://www.securityfocus.com/bid/28105>
- <https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00298.html>
- <http://blog.s9y.org/archives/191-Serendipity-1.3-beta1-released.html>
- <http://secunia.com/advisories/29562>

---

Data as of 2026-12-05T14:42:37.126Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
