CVE-2007-3294: PHP

High severity, CVSS 7.5. EPSS: 9.4% chance of exploitation in the next 30 days.

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.

Affected products

  • PHP PHP: version 5.2.3 only

Published 2007-06-20. Last modified 2026-06-16.