{"id":"CVE-2016-4070","details":"Integer overflow in the php_raw_url_encode function in ext/standard/url.c in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5 allows remote attackers to cause a denial of service (application crash) via a long string to the rawurlencode function. NOTE: the vendor says \"Not sure if this qualifies as security issue (probably not).","modified":"2026-10-24T10:35:23.326457329Z","published":"2016-05-20T11:00:14.473Z","related":["SUSE-SU-2016:1277-1","SUSE-SU-2016:1310-1","SUSE-SU-2016:1581-1","SUSE-SU-2016:1638-1"],"database_specific":{"unresolved_ranges":[{"vendor_product":"php:php","cpes":["cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:*","cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:*"],"extracted_events":[{"range":[{"introduced":"5.6.0-alpha4"},{"last_affected":"5.6.0-alpha4"},{"introduced":"5.6.0-alpha5"},{"last_affected":"5.6.0-alpha5"}],"source":"CPE_STRING"}]}]},"references":[{"type":"WEB","url":"http://lists.apple.com/archives/security-announce/2016/May/msg00004.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00031.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00033.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00056.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/04/24/1"},{"type":"WEB","url":"http://www.php.net/ChangeLog-5.php"},{"type":"WEB","url":"http://www.php.net/ChangeLog-7.php"},{"type":"WEB","url":"http://www.securityfocus.com/bid/85801"},{"type":"WEB","url":"https://git.php.net/?p=php-src.git%3Ba=commit%3Bh=95433e8e339dbb6b5d5541473c1661db6ba2c451"},{"type":"WEB","url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"},{"type":"WEB","url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149"},{"type":"WEB","url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722"},{"type":"WEB","url":"https://support.apple.com/HT206567"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3560"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2952-1"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2952-2"},{"type":"EVIDENCE","url":"https://bugs.php.net/bug.php?id=71798"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"0"},{"last_affected":"8f0acd6a9022e01f5c438c395eb619f34f89567e"},{"introduced":"8648f76bac2f78391a1539253f21d62f53d83022"},{"last_affected":"e09845d32614a19188632f410316478fbb440ebd"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"5.5.33"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:*","range":[{"introduced":"5.6.0-alpha1"},{"last_affected":"5.6.0-alpha1"}],"source":"CPE_STRING"},{"cpe":"cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:*","range":[{"introduced":"5.6.0-alpha2"},{"last_affected":"5.6.0-alpha2"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:*","range":[{"introduced":"5.6.0-alpha3"},{"last_affected":"5.6.0-alpha3"}]},{"cpe":"cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:*","range":[{"introduced":"5.6.0-beta1"},{"last_affected":"5.6.0-beta1"}],"source":"CPE_STRING"},{"range":[{"introduced":"5.6.0-beta2"},{"last_affected":"5.6.0-beta2"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:*"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:*","range":[{"introduced":"5.6.0-beta3"},{"last_affected":"5.6.0-beta3"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:*","range":[{"introduced":"5.6.0-beta4"},{"last_affected":"5.6.0-beta4"}]},{"cpe":"cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:*","range":[{"introduced":"5.6.1"},{"last_affected":"5.6.1"}],"source":"CPE_STRING"},{"range":[{"introduced":"5.6.2"},{"last_affected":"5.6.2"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:*"},{"range":[{"introduced":"5.6.3"},{"last_affected":"5.6.3"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:*"},{"range":[{"introduced":"5.6.4"},{"last_affected":"5.6.4"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:*","range":[{"introduced":"5.6.5"},{"last_affected":"5.6.5"}],"source":"CPE_STRING"},{"range":[{"introduced":"5.6.6"},{"last_affected":"5.6.6"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:*"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:*","range":[{"introduced":"5.6.7"},{"last_affected":"5.6.7"}]},{"cpe":"cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:*","range":[{"introduced":"5.6.8"},{"last_affected":"5.6.8"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:*","range":[{"introduced":"5.6.9"},{"last_affected":"5.6.9"}]},{"cpe":"cpe:2.3:a:php:php:5.6.10:*:*:*:*:*:*:*","range":[{"introduced":"5.6.10"},{"last_affected":"5.6.10"}],"source":"CPE_STRING"},{"cpe":"cpe:2.3:a:php:php:5.6.11:*:*:*:*:*:*:*","range":[{"introduced":"5.6.11"},{"last_affected":"5.6.11"}],"source":"CPE_STRING"},{"range":[{"introduced":"5.6.12"},{"last_affected":"5.6.12"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.12:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:php:php:5.6.13:*:*:*:*:*:*:*","range":[{"introduced":"5.6.13"},{"last_affected":"5.6.13"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.14:*:*:*:*:*:*:*","range":[{"introduced":"5.6.14"},{"last_affected":"5.6.14"}]},{"range":[{"introduced":"5.6.15"},{"last_affected":"5.6.15"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.15:*:*:*:*:*:*:*"},{"range":[{"introduced":"5.6.16"},{"last_affected":"5.6.16"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.16:*:*:*:*:*:*:*"},{"range":[{"introduced":"5.6.17"},{"last_affected":"5.6.17"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.17:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:php:php:5.6.18:*:*:*:*:*:*:*","range":[{"introduced":"5.6.18"},{"last_affected":"5.6.18"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:5.6.19:*:*:*:*:*:*:*","range":[{"introduced":"5.6.19"},{"last_affected":"5.6.19"}]},{"cpe":"cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*","range":[{"introduced":"7.0.0"},{"last_affected":"7.0.0"}],"source":"CPE_STRING"},{"range":[{"introduced":"7.0.1"},{"last_affected":"7.0.1"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*"},{"range":[{"introduced":"7.0.2"},{"last_affected":"7.0.2"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*","range":[{"introduced":"7.0.3"},{"last_affected":"7.0.3"}],"source":"CPE_STRING"},{"cpe":"cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*","range":[{"introduced":"7.0.4"},{"last_affected":"7.0.4"}],"source":"CPE_STRING"}]}}],"versions":["5.6.0-alpha1","5.6.0-alpha2","5.6.0-alpha3","5.6.0-beta1","5.6.0-beta2","5.6.0-beta3","5.6.0-beta4","5.6.1","5.6.10","5.6.11","5.6.12","5.6.13","5.6.14","5.6.15","5.6.16","5.6.17","5.6.18","5.6.19","5.6.2","5.6.3","5.6.4","5.6.5","5.6.6","5.6.7","5.6.8","5.6.9","7.0.0","7.0.1","7.0.2","7.0.3","7.0.4","php-5.5.33","php-7.0.4","php-7.0.4RC1","POST_PHP7_NSAPI_REMOVAL","PRE_PHP7_NSAPI_REMOVAL","PRE_PHP7_EREG_MYSQL_REMOVALS","PRE_PHP7_REMOVALS","POST_PHP7_REMOVALS","POST_AST_MERGE","PRE_AST_MERGE","POST_64BIT_BRANCH_MERGE","PRE_64BIT_BRANCH_MERGE","POST_PHPNG_MERGE"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-4070.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}