{"id":"CVE-2017-11142","details":"In PHP before 5.6.31, 7.x before 7.0.17, and 7.1.x before 7.1.3, remote attackers could cause a CPU consumption denial of service attack by injecting long form variables, related to main/php_variables.c.","modified":"2026-10-20T13:14:17.769889742Z","published":"2017-07-10T14:29:00.557Z","related":["SUSE-SU-2017:2303-1"],"database_specific":{},"references":[{"type":"WEB","url":"http://www.securityfocus.com/bid/99601"},{"type":"WEB","url":"https://www.tenable.com/security/tns-2017-12"},{"type":"ADVISORY","url":"http://php.net/ChangeLog-5.php"},{"type":"ADVISORY","url":"http://php.net/ChangeLog-7.php"},{"type":"ADVISORY","url":"https://bugs.php.net/bug.php?id=73807"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20180112-0001/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4081"},{"type":"FIX","url":"https://github.com/php/php-src/commit/0f8cf3b8497dc45c010c44ed9e96518e11e19fc3"},{"type":"FIX","url":"https://github.com/php/php-src/commit/a15bffd105ac28fd0dd9b596632dbf035238fda3"},{"type":"ARTICLE","url":"http://openwall.com/lists/oss-security/2017/07/10/6"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"0"},{"last_affected":"195427c55481d9913ac9dd3fbcedf2f7c637e6de"},{"introduced":"60fffd296abce5fc071f3c173c25a2696cf683c6"},{"last_affected":"e000b401acacd5c0e8d90ec36c2ef1c585d149a2"},{"fixed":"0f8cf3b8497dc45c010c44ed9e96518e11e19fc3"},{"fixed":"a15bffd105ac28fd0dd9b596632dbf035238fda3"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"5.6.30"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"},{"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:*:*:*:*:*:*:*"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*","range":[{"introduced":"7.0.2"},{"last_affected":"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"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*","range":[{"introduced":"7.0.4"},{"last_affected":"7.0.4"}]},{"range":[{"introduced":"7.0.5"},{"last_affected":"7.0.5"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*"},{"range":[{"introduced":"7.0.6"},{"last_affected":"7.0.6"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*","range":[{"introduced":"7.0.7"},{"last_affected":"7.0.7"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*","range":[{"introduced":"7.0.8"},{"last_affected":"7.0.8"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*","range":[{"introduced":"7.0.9"},{"last_affected":"7.0.9"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:*","range":[{"introduced":"7.0.10"},{"last_affected":"7.0.10"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*","range":[{"introduced":"7.0.11"},{"last_affected":"7.0.11"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*","range":[{"introduced":"7.0.12"},{"last_affected":"7.0.12"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.13:*:*:*:*:*:*:*","range":[{"introduced":"7.0.13"},{"last_affected":"7.0.13"}]},{"cpe":"cpe:2.3:a:php:php:7.0.14:*:*:*:*:*:*:*","range":[{"introduced":"7.0.14"},{"last_affected":"7.0.14"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.15:*:*:*:*:*:*:*","range":[{"introduced":"7.0.15"},{"last_affected":"7.0.15"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.16:*:*:*:*:*:*:*","range":[{"introduced":"7.0.16"},{"last_affected":"7.0.16"}]},{"range":[{"introduced":"7.1.0"},{"last_affected":"7.1.0"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.1.0:*:*:*:*:*:*:*"},{"range":[{"introduced":"7.1.1"},{"last_affected":"7.1.1"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.1.1:*:*:*:*:*:*:*"},{"range":[{"introduced":"7.1.2"},{"last_affected":"7.1.2"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.1.2:*:*:*:*:*:*:*"},{"range":[{"fixed":"0f8cf3b8497dc45c010c44ed9e96518e11e19fc3"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"a15bffd105ac28fd0dd9b596632dbf035238fda3"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["7.0.0","7.0.1","7.0.10","7.0.11","7.0.12","7.0.13","7.0.14","7.0.15","7.0.16","7.0.2","7.0.3","7.0.4","7.0.5","7.0.6","7.0.7","7.0.8","7.0.9","7.1.0","7.1.1","7.1.2","php-7.1.2","php-7.1.2RC1","php-5.6.30","php-5.6.30RC1","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/cve-osv-conversion/osv-output/CVE-2017-11142.json","vanir_signatures":[{"source":"https://github.com/php/php-src/commit/0f8cf3b8497dc45c010c44ed9e96518e11e19fc3","target":{"file":"main/php_variables.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["28348859141919998958408428016140039178","225147515465150737396624025795257656515","99215475884534245857845970963603820764","226237275122163237624607682439648773250","189481786908456659852663052726213375151","71440119112142052417855658924148789731","79239961292965705867728102976904745787","179752734232827542878690393750686316921","188099424091631210252010101265593888658","165653614139057169206629735467583924984","84232813021568908273938340225130101375","312353893467083796724105364500930145621","281783171226972528726164776680967964705","199214583038427199935155611954785827853","36078684777747997871256423870976517862","79799886385633628631311795350256399145","27496147415769945443176438653116874985","9407418922154005529248365188705880632","337492892336153157729568346941893080080","124107419404495172029185006063264421791","30400752898628960156132606725383971269","61045214515877697343660386946775700209"]},"id":"CVE-2017-11142-13aba9d3","signature_type":"Line","signature_version":"v1"},{"signature_version":"v1","source":"https://github.com/php/php-src/commit/0f8cf3b8497dc45c010c44ed9e96518e11e19fc3","target":{"file":"main/php_variables.c","function":"add_post_vars"},"deprecated":false,"digest":{"length":616,"function_hash":"249037938719514043556291932292439707537"},"id":"CVE-2017-11142-2de5fb24","signature_type":"Function"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/php/php-src/commit/a15bffd105ac28fd0dd9b596632dbf035238fda3","target":{"function":"add_post_var","file":"main/php_variables.c"},"deprecated":false,"digest":{"function_hash":"277576675635304849580747893822124977125","length":853},"id":"CVE-2017-11142-76953b11"},{"digest":{"line_hashes":["28348859141919998958408428016140039178","225147515465150737396624025795257656515","158746745967828964393242271178550117037","10799305647557545806155708165410964944","2817076162957742201950559572548708186","29400110818513497006900147501988231318","241878772281113059536847242441203549897","108155168340536874108326348465594425361","188099424091631210252010101265593888658","165653614139057169206629735467583924984","84232813021568908273938340225130101375","312353893467083796724105364500930145621","281783171226972528726164776680967964705","199214583038427199935155611954785827853","315082849080393381965340538544456385542","79799886385633628631311795350256399145","27496147415769945443176438653116874985","35517809090076032917703698993791410016"],"threshold":0.9},"id":"CVE-2017-11142-a25a26a1","signature_type":"Line","signature_version":"v1","source":"https://github.com/php/php-src/commit/a15bffd105ac28fd0dd9b596632dbf035238fda3","target":{"file":"main/php_variables.c"},"deprecated":false},{"id":"CVE-2017-11142-d70f2805","signature_type":"Function","signature_version":"v1","source":"https://github.com/php/php-src/commit/0f8cf3b8497dc45c010c44ed9e96518e11e19fc3","target":{"file":"main/php_variables.c","function":"add_post_var"},"deprecated":false,"digest":{"function_hash":"148892477929283884465835532575075293985","length":898}}],"vanir_signatures_modified":"2026-10-20T13:14:17Z"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}