Skip to content
OpenAdvisories
Unscored CVE-2007-1887 EUVD-2007-1881GHSA-7fcm-v46p-r75h

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 cont…

Published Apr 6, 2007 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 php5 5.2.0-10+lenny1 DTSA-39-1
Debian 4.0 php5 5.2.0-8+etch3 DSA-1283-1

Advisories 2

References