{"id":"CVE-2007-1888","aliases":["EUVD-2007-1882","GHSA-wp34-w2pp-q772"],"status":"published","title":"Buffer overflow in the sqlite_decode_binary function in src/encode.c in SQLite 2, as used by PHP...","description":"Buffer overflow in the sqlite_decode_binary function in src/encode.c in SQLite 2, as used by PHP 4.x through 5.x and other applications, allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter.  NOTE: some PHP installations use a bundled version of sqlite without this vulnerability.  The SQLite developer has argued that this issue could be due to a misuse of the sqlite_decode_binary() API.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03536,"percentile":0.89351,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2007-04-06T01:00:00Z","modified":"2026-06-16T22:38:30Z","products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://osvdb.org/39177","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38518","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.php-security.org/MOPB/MOPB-41-2007.html","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix"]},{"url":"http://www.sqlite.org/cvstrac/rlog?f=sqlite/src/encode.c","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://www.ubuntu.com/usn/usn-455-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://www.attrition.org/pipermail/vim/2007-April/001540.html","tags":["mailing-list","x_refsource_VIM","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:091","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/25057","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1888"},{"url":"https://github.com/advisories/GHSA-wp34-w2pp-q772"}],"sources":{"cve":[{"id":"CVE-2007-1888","description":"Buffer overflow in the sqlite_decode_binary function in src/encode.c in SQLite 2, as used by PHP 4.x through 5.x and other applications, allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter.  NOTE: some PHP installations use a bundled version of sqlite without this vulnerability.  The SQLite developer has argued that this issue could be due to a misuse of the sqlite_decode_binary() API.","status":"published","published":"2007-04-06T01:00:00Z","modified":"2024-08-07T13:13:41.46Z","updated_at":"2026-11-02T13:33:52.669326Z"}],"euvd":[{"id":"EUVD-2007-1882","description":"Buffer overflow in the sqlite_decode_binary function in src/encode.c in SQLite 2, as used by PHP 4.x through 5.x and other applications, allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter.  NOTE: some PHP installations use a bundled version of sqlite without this vulnerability.  The SQLite developer has argued that this issue could be due to a misuse of the sqlite_decode_binary() API.","status":"published","published":"2007-04-06T01:00:00Z","modified":"2024-08-07T13:13:41Z","updated_at":"2026-11-03T01:38:23.856285Z"}],"ghsa":[{"id":"GHSA-wp34-w2pp-q772","title":"Buffer overflow in the sqlite_decode_binary function in src/encode.c in SQLite 2, as used by PHP...","description":"Buffer overflow in the sqlite_decode_binary function in src/encode.c in SQLite 2, as used by PHP 4.x through 5.x and other applications, allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter.  NOTE: some PHP installations use a bundled version of sqlite without this vulnerability.  The SQLite developer has argued that this issue could be due to a misuse of the sqlite_decode_binary() API.","status":"published","published":"2022-05-01T17:58:04Z","modified":"2023-01-31T05:03:40Z","updated_at":"2026-11-02T14:48:31.353557Z"}],"nvd":[{"id":"CVE-2007-1888","description":"Buffer overflow in the sqlite_decode_binary function in src/encode.c in SQLite 2, as used by PHP 4.x through 5.x and other applications, allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter.  NOTE: some PHP installations use a bundled version of sqlite without this vulnerability.  The SQLite developer has argued that this issue could be due to a misuse of the sqlite_decode_binary() API.","status":"published","published":"2007-04-06T01:19:00Z","modified":"2026-06-16T22:38:30.52Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:14.732044Z"}],"osv":[{"id":"CVE-2007-1888","description":"Buffer overflow in the sqlite_decode_binary function in src/encode.c in SQLite 2, as used by PHP 4.x through 5.x and other applications, allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter.  NOTE: some PHP installations use a bundled version of sqlite without this vulnerability.  The SQLite developer has argued that this issue could be due to a misuse of the sqlite_decode_binary() API.","status":"withdrawn","published":"2007-04-06T01:19:00Z","modified":"2024-06-04T04:00:19Z","updated_at":"2026-11-02T15:43:56.865964Z"}]}}
