{"id":"CVE-2008-1066","aliases":["DEBIAN-CVE-2008-1066","DSA-1520-1","EUVD-2008-1077","GHSA-v4j9-rxfp-35qc"],"status":"published","title":"The modifier.regex_replace.php plugin in Smarty before 2.6.19, as used by Serendipity (S9Y) and...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01954,"percentile":0.80396,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2008-02-28T20:00:00Z","modified":"2026-06-16T22:50:54Z","fixes":[{"ecosystem":"Debian:3.1","package":"smarty","fixed_in":["2.6.9-1sarge1"],"sources":["osv"]},{"ecosystem":"Debian:4.0","package":"smarty","fixed_in":["2.6.14-1etch1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:3.1","package":"smarty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.9-1sarge1"}]}],"versions":["2.6.9-1"]},{"source":"osv","ecosystem":"Debian:4.0","package":"smarty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.14-1etch1"}]}],"versions":["2.6.14-1"]}],"products":[{"vendor":"smarty","product":"smarty"}],"references":[{"url":"http://secunia.com/advisories/29398","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/29241","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.debian.org/security/2008/dsa-1520","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.phpinsider.com/smarty-forum/viewtopic.php?p=47652","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-201111-04.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.smarty.net/misc/NEWS","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/29405","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00551.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://secunia.com/advisories/29392","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/29839","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00008.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41002","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00358.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://www.securityfocus.com/bid/28105","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00298.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://blog.s9y.org/archives/191-Serendipity-1.3-beta1-released.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/29562","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-1066"},{"url":"https://github.com/advisories/GHSA-v4j9-rxfp-35qc"}],"sources":{"cve":[{"id":"CVE-2008-1066","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.","status":"published","published":"2008-02-28T20:00:00Z","modified":"2024-08-07T08:08:57.497Z","updated_at":"2026-11-02T14:34:47.71012Z"}],"euvd":[{"id":"EUVD-2008-1077","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.","status":"published","published":"2008-02-28T20:00:00Z","modified":"2024-08-07T08:08:57Z","updated_at":"2026-11-03T01:39:03.090998Z"}],"ghsa":[{"id":"GHSA-v4j9-rxfp-35qc","title":"The modifier.regex_replace.php plugin in Smarty before 2.6.19, as used by Serendipity (S9Y) and...","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.","status":"published","published":"2022-05-01T23:36:24Z","modified":"2023-01-31T05:05:21Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:48:50.52088Z"}],"nvd":[{"id":"CVE-2008-1066","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.","status":"published","published":"2008-02-28T20:44:00Z","modified":"2026-06-16T22:50:54.753Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:01:25.307768Z"}],"osv":[{"id":"DSA-1520-1","title":"smarty - arbitrary code execution","status":"published","published":"2008-03-16T00:00:00Z","modified":"2026-03-09T01:01:24.219054Z","updated_at":"2026-11-02T15:46:14.734124Z"}]}}
