{"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-04-11T04:38:03.982618Z","published":"2017-07-10T14:29:00.557Z","related":["SUSE-SU-2017:2303-1"],"references":[{"type":"WEB","url":"https://www.tenable.com/security/tns-2017-12"},{"type":"WEB","url":"http://www.securityfocus.com/bid/99601"},{"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":"0"},{"last_affected":"60fffd296abce5fc071f3c173c25a2696cf683c6"},{"introduced":"0"},{"last_affected":"4054ec69da7631046f19d54ab06f09728a208b8b"},{"introduced":"0"},{"last_affected":"038c63cdea0472176ec2fdb162cfbd96e8c5f83e"},{"introduced":"0"},{"last_affected":"4e1b8701573698f56e12672e4991d7e6239138d2"},{"introduced":"0"},{"last_affected":"e09845d32614a19188632f410316478fbb440ebd"},{"introduced":"0"},{"last_affected":"249a8fd9ae2324c84ede7ecfca6f6026e6d87df6"},{"introduced":"0"},{"last_affected":"734a5fca2c4731e34eca551f28be9a10ffc3f3c9"},{"introduced":"0"},{"last_affected":"fb59213fc461f079bc218abf44cb5e2b4db2182c"},{"introduced":"0"},{"last_affected":"a36407215f69ba2debf77933dcb3faa0c3ba2d04"},{"introduced":"0"},{"last_affected":"9d582eba7448f1495fae62b13d95d2844ce6b28a"},{"introduced":"0"},{"last_affected":"da12ca9c1ed03084e6803f5e81e46f2e0a80460a"},{"introduced":"0"},{"last_affected":"e2874f7bf990ed58ba6f7abccefa2c00a0447fc7"},{"introduced":"0"},{"last_affected":"140e2adb5ab8a5ed0624366c0416f07b8aa17254"},{"introduced":"0"},{"last_affected":"721bcb2b7e7d283f89c300caed54a532e7fc5ddf"},{"introduced":"0"},{"last_affected":"94933677a34de91b54ecd3cbe44770b7c204dc8a"},{"introduced":"0"},{"last_affected":"cc766d7730bdec064e32f8009154fa672b34ef9b"},{"introduced":"0"},{"last_affected":"37eb1e4d92db3cf3f92910f27216550c0b0a9982"},{"introduced":"0"},{"last_affected":"0221e9f827632942225586687a33cfd554860d5e"},{"introduced":"0"},{"last_affected":"9abbc3cc6d0f448435ca38bef694f671bf7303d8"},{"introduced":"0"},{"last_affected":"e000b401acacd5c0e8d90ec36c2ef1c585d149a2"},{"fixed":"0f8cf3b8497dc45c010c44ed9e96518e11e19fc3"},{"fixed":"a15bffd105ac28fd0dd9b596632dbf035238fda3"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"5.6.30"},{"introduced":"0"},{"last_affected":"7.0.0"},{"introduced":"0"},{"last_affected":"7.0.1"},{"introduced":"0"},{"last_affected":"7.0.2"},{"introduced":"0"},{"last_affected":"7.0.3"},{"introduced":"0"},{"last_affected":"7.0.4"},{"introduced":"0"},{"last_affected":"7.0.5"},{"introduced":"0"},{"last_affected":"7.0.6"},{"introduced":"0"},{"last_affected":"7.0.7"},{"introduced":"0"},{"last_affected":"7.0.8"},{"introduced":"0"},{"last_affected":"7.0.9"},{"introduced":"0"},{"last_affected":"7.0.10"},{"introduced":"0"},{"last_affected":"7.0.11"},{"introduced":"0"},{"last_affected":"7.0.12"},{"introduced":"0"},{"last_affected":"7.0.13"},{"introduced":"0"},{"last_affected":"7.0.14"},{"introduced":"0"},{"last_affected":"7.0.15"},{"introduced":"0"},{"last_affected":"7.0.16"},{"introduced":"0"},{"last_affected":"7.1.0"},{"introduced":"0"},{"last_affected":"7.1.1"},{"introduced":"0"},{"last_affected":"7.1.2"}]}}],"versions":["POST_64BIT_BRANCH_MERGE","POST_AST_MERGE","POST_PHP7_NSAPI_REMOVAL","POST_PHP7_REMOVALS","POST_PHPNG_MERGE","PRE_64BIT_BRANCH_MERGE","PRE_AST_MERGE","PRE_PHP7_EREG_MYSQL_REMOVALS","PRE_PHP7_NSAPI_REMOVAL","PRE_PHP7_REMOVALS","php-5.6.30","php-5.6.30RC1","php-7.0.0","php-7.0.0RC1","php-7.0.0RC2","php-7.0.0RC3","php-7.0.0RC4","php-7.0.0RC5","php-7.0.0RC6","php-7.0.0RC7","php-7.0.0RC8","php-7.0.0alpha1","php-7.0.0alpha2","php-7.0.0beta1","php-7.0.0beta2","php-7.0.0beta3","php-7.0.1","php-7.0.10","php-7.0.10RC1","php-7.0.11","php-7.0.11RC1","php-7.0.12","php-7.0.13","php-7.0.13RC1","php-7.0.14","php-7.0.14RC1","php-7.0.15","php-7.0.15RC1","php-7.0.16","php-7.0.16RC1","php-7.0.1RC1","php-7.0.2","php-7.0.2RC1","php-7.0.3","php-7.0.4","php-7.0.4RC1","php-7.0.5","php-7.0.5RC1","php-7.0.6","php-7.0.6RC1","php-7.0.7","php-7.0.7RC1","php-7.0.8","php-7.0.8RC1","php-7.0.9","php-7.0.9RC1","php-7.1.0","php-7.1.0RC6","php-7.1.1","php-7.1.1RC1","php-7.1.2","php-7.1.2RC1"],"database_specific":{"vanir_signatures":[{"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","deprecated":false,"target":{"file":"main/php_variables.c"},"signature_version":"v1","signature_type":"Line","source":"https://github.com/php/php-src/commit/0f8cf3b8497dc45c010c44ed9e96518e11e19fc3"},{"digest":{"length":616,"function_hash":"249037938719514043556291932292439707537"},"id":"CVE-2017-11142-2de5fb24","deprecated":false,"target":{"function":"add_post_vars","file":"main/php_variables.c"},"signature_version":"v1","signature_type":"Function","source":"https://github.com/php/php-src/commit/0f8cf3b8497dc45c010c44ed9e96518e11e19fc3"},{"digest":{"length":853,"function_hash":"277576675635304849580747893822124977125"},"id":"CVE-2017-11142-76953b11","deprecated":false,"target":{"function":"add_post_var","file":"main/php_variables.c"},"signature_version":"v1","signature_type":"Function","source":"https://github.com/php/php-src/commit/a15bffd105ac28fd0dd9b596632dbf035238fda3"},{"digest":{"threshold":0.9,"line_hashes":["28348859141919998958408428016140039178","225147515465150737396624025795257656515","158746745967828964393242271178550117037","10799305647557545806155708165410964944","2817076162957742201950559572548708186","29400110818513497006900147501988231318","241878772281113059536847242441203549897","108155168340536874108326348465594425361","188099424091631210252010101265593888658","165653614139057169206629735467583924984","84232813021568908273938340225130101375","312353893467083796724105364500930145621","281783171226972528726164776680967964705","199214583038427199935155611954785827853","315082849080393381965340538544456385542","79799886385633628631311795350256399145","27496147415769945443176438653116874985","35517809090076032917703698993791410016"]},"id":"CVE-2017-11142-a25a26a1","deprecated":false,"target":{"file":"main/php_variables.c"},"signature_version":"v1","signature_type":"Line","source":"https://github.com/php/php-src/commit/a15bffd105ac28fd0dd9b596632dbf035238fda3"},{"digest":{"length":898,"function_hash":"148892477929283884465835532575075293985"},"id":"CVE-2017-11142-d70f2805","deprecated":false,"target":{"function":"add_post_var","file":"main/php_variables.c"},"signature_version":"v1","signature_type":"Function","source":"https://github.com/php/php-src/commit/0f8cf3b8497dc45c010c44ed9e96518e11e19fc3"}],"vanir_signatures_modified":"2026-04-11T04:38:03Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-11142.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}