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.

Category

7.5
CVSS
Severity: High
CVSS 2.0 •
EPSS 2.08% Top 20%
Vendor Advisory debian.org Vendor Advisory gentoo.org Vendor Advisory redhat.com Vendor Advisory ubuntu.com Vendor Advisory hp.com Vendor Advisory mandriva.com Vendor Advisory mandriva.com Vendor Advisory php-security.org Vendor Advisory php.net Vendor Advisory php.net
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://secunia.com/advisories/27110 third party advisory not applicable
http://www.debian.org/security/2007/dsa-1283 third party advisory vendor advisory
http://www.vupen.com/english/advisories/2007/2016 vdb entry permissions required
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml third party advisory vendor advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5348 vdb entry third party advisory signature
http://www.php.net/releases/5_2_1.php release notes vendor advisory
http://www.php-security.org/MOPB/MOPB-41-2007.html broken link vendor advisory
http://secunia.com/advisories/25062 third party advisory not applicable
https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html mailing list third party advisory vendor advisory
http://www.ubuntu.com/usn/usn-455-1 third party advisory vendor advisory
http://secunia.com/advisories/24909 third party advisory not applicable
http://www.vupen.com/english/advisories/2007/3386 vdb entry permissions required
https://exchange.xforce.ibmcloud.com/vulnerabilities/33766 vdb entry third party advisory
http://www.securityfocus.com/bid/23235 vdb entry third party advisory
http://secunia.com/advisories/27037 third party advisory not applicable
http://www.php.net/releases/5_2_3.php release notes vendor advisory
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01178795 vendor advisory broken link
http://secunia.com/advisories/27102 third party advisory not applicable
http://www.mandriva.com/security/advisories?name=MDKSA-2007:089 vendor advisory broken link
http://secunia.com/advisories/25057 third party advisory not applicable
http://www.mandriva.com/security/advisories?name=MDKSA-2007:088 vendor advisory broken link

Frequently Asked Questions

What is the severity of CVE-2007-1887?
CVE-2007-1887 has been scored as a high severity vulnerability.
How to fix CVE-2007-1887?
To fix CVE-2007-1887, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2007-1887 being actively exploited in the wild?
It is possible that CVE-2007-1887 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.