{"vuln_id":"GHSA-54hq-v5wp-fqgv","aliases":["CVE-2023-0662"],"description":"DoS vulnerability when parsing multipart request body","published_at":"2023-02-15T20:32:24Z","modified_at":"2023-02-15T20:32:24Z","first_seen_at":"2026-11-22T14:05:37.638162Z","severity":"high","severity_source":"ghsa","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-400","CWE-779"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-54hq-v5wp-fqgv"},"matched_alias":null,"items":[{"id":12683,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"GHSA-54hq-v5wp-fqgv / CVE-2023-0662: DoS vulnerability when parsing multipart request body","summary":"DoS vulnerability when parsing multipart request body\n\n### Summary\r\n\r\nThe request body parsing in PHP allows any unauthenticated attacker to consume\r\n a large amount of CPU time and trigger excessive logging.\r\n\r\n### Details\r\n\r\nThe multipart body parser processes an unlimited number of file parts.\r\nThe multipart body parser processes an unlimited number of field parts.\r\nThe multipart body parser emits an unbound number of warning messages.\r\n\r\n### Impact\r\n\r\nThis is a remote unauthenticated Denial of Service vulnerability.\r\n\r\nThe default/production configuration is affected by this vulnerability.\r\n\r\nThe large amount of CPU time required for processing requests can block all\r\n available worker processes and significantly delay or slow down the processing\r\n of legitimate user requests.\r\nThe large volume of warning messages can wear down the disk and fill it up.\r\nComplete DoS is achievable by sending many concurrent multipart requests in a\r\n loop.\r\n\r\nPHP parses the request body before invoking any application scripts.\r\nThis vulnerability affects all PHP websites that accept POST request bodies\r\n (`post_max_size` set to a value greater than zero, the default value is 8MB).\r\n\r\nAs a mitigation, users can decrease `post_max_size` close to zero. This will\r\n render most websites non-interactive and/or break file uploads.\r\n\n\nAffected packages: php:PHP\nPatched: PHP 8.0.28, PHP 8.1.16, PHP 8.2.3","url":"https://github.com/php/php-src/security/advisories/GHSA-54hq-v5wp-fqgv","published_at":"2023-02-15T20:32:24Z","updated_at":"2023-02-15T20:32:24Z","fetched_at":"2026-11-22T14:05:37.431206Z","severity":"high","cvss_score":7.5,"epss":0.01469,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"PHP","vuln_id":"CVE-2023-0662","vuln_ids":["CVE-2023-0662","GHSA-54HQ-V5WP-FQGV"],"tags":["repo-advisory","php","CWE-400","CWE-779","security","repo:php/php-src","stack"],"cluster_id":11796,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12683","html":"https://vulnwatch.ve1ve2.com/item/12683"}}]}