What’s Vulnerable › Vulnerabilities

CVE-2007-1887

Description

Buffer overflow in the sqlite_decode_binary function in the bundled sqlite library in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter, as demonstrated by calling the sqlite_udf_decode_binary function with a 0x01 character.

Affected products

How to fix

Upgrade to a fixed version: PHP 4.4.5, 5.2.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2007-1887 or the next vulnerability affects your stack