Buffer overflow in PHP
CVE-2007-3294
Multiple buffer overflows in libtidy, as used in the Tidy extension for PHP 5.2.3 and possibly other products, allow context-dependent attackers to execute arbitrary code via (1) a long second argument to the tidy_parse_string function or (2) an unspecified vector to the tidy_repair_string function. NOTE: this might only be an issue in environments where vsnprintf is implemented as a wrapper for vsprintf.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.094, 95.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.2.3
Weakness classification (CWE)
References
- secunia.com/advisories/25735 (third-party-advisory, Vendor Advisory)
- osvdb.org/36853 (vdb-entry)
- php-tidy-parsestring-bo(34931) (vdb-entry)
- www.exploit-db.com/exploits/4080 (exploit)