Every CVE Search/ Get API key

CVE-2008-1066

The modifier.regex_replace.php plugin in Smarty before 2.6.19, as used by Serendipity (S9Y) and...

7.5 HighFix available

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.

Exploit likelihood

1.95%Down 0.7 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2008-1066
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2008-1066
Updated
2026-11-02
EUVDEUVD-2008-1077 No score

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.

Record
EUVD-2008-1077
Updated
2026-11-03
GitHub AdvisoriesGHSA-v4j9-rxfp-35qc No score

The modifier.regex_replace.php plugin in Smarty before 2.6.19, as used by Serendipity (S9Y) and...

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.

Record
GHSA-v4j9-rxfp-35qc
Weakness
CWE-20
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
smarty
Debian:3.1
before 2.6.9-1sarge1, plus listed versions
2.6.9-1
2.6.9-1sarge1
smarty
Debian:4.0
before 2.6.14-1etch1, plus listed versions
2.6.14-1
2.6.14-1etch1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2008-1066 is a high vulnerability (CVSS 7.5) in Smarty, published February 28, 2008. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.95%, the 80th percentile. Fixed in smarty 2.6.9-1sarge1.

References

Show 13 moreShow less
MoveEnter Open