CVE-2008-1066
CVE-2008-1066 is a high-severity vulnerability in Smarty with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.
Key facts
- Severity: High (CVSS 2.0 base score 7.5)
- EPSS exploit prediction: 2% (78th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-20
- Affected product: Smarty
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2008-1066?
- 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.
- How severe is CVE-2008-1066?
- CVE-2008-1066 has a CVSS 2.0 base score of 7.5, rated high severity.
- Is CVE-2008-1066 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (78th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2008-1066?
- CVE-2008-1066 affects Smarty. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2008-1066?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2008-1066 published?
- CVE-2008-1066 was published on 2008-02-28 and last updated on 2026-06-16.
References
- http://blog.s9y.org/archives/191-Serendipity-1.3-beta1-released.html
- http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00008.html
- http://secunia.com/advisories/29241
- http://secunia.com/advisories/29392
- http://secunia.com/advisories/29398
- http://secunia.com/advisories/29405
- http://secunia.com/advisories/29562
- http://secunia.com/advisories/29839
- http://security.gentoo.org/glsa/glsa-201111-04.xml
- http://www.debian.org/security/2008/dsa-1520
- http://www.phpinsider.com/smarty-forum/viewtopic.php?p=47652
- http://www.securityfocus.com/bid/28105
- http://www.smarty.net/misc/NEWS
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41002
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00298.html
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00358.html
- https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00551.html
Affected products (1)
- cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*
More vulnerabilities in Smarty
- CVE-2010-4727 — Critical (CVSS 10.0): Smarty before 3.0.0 beta 7 does not properly handle the <?php and ?> tags, which has unspecified impact and remote…
- CVE-2010-4726 — Critical (CVSS 10.0): Unspecified vulnerability in the math plugin in Smarty before 3.0.0 RC1 has unknown impact and remote attack vectors.…
- CVE-2010-4725 — Critical (CVSS 10.0): Smarty before 3.0.0 RC3 does not properly handle an on value of the asp_tags option in the php.ini file, which has…
- CVE-2010-4724 — Critical (CVSS 10.0): Multiple unspecified vulnerabilities in the parser implementation in Smarty before 3.0.0 RC3 have unknown impact and…
- CVE-2010-4722 — Critical (CVSS 10.0): Unspecified vulnerability in the fetch plugin in Smarty before 3.0.2 has unknown impact and remote attack vectors.
- CVE-2009-5052 — Critical (CVSS 10.0): Multiple unspecified vulnerabilities in Smarty before 3.0.0 beta 6 have unknown impact and attack vectors.
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-48316 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48281 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48277 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48055 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download any video media. In versions 2.4.0 and…
- CVE-2026-34910 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS…
- CVE-2026-33587 — Critical (CVSS 10.0): Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →