{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-21708","published":"2022-02-27T08:15:06.817000Z","last_modified":"2026-06-17T03:36:02.283000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-416"],"cpes":[{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"7.4.0","version_end_excluding":"7.4.28"},{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"8.0.0","version_end_excluding":"8.0.16"},{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"8.1.0","version_end_excluding":"8.1.3"}],"cpes_truncated":false,"vendors":["php"],"products":["php/php"],"epss":{"score":0.03002,"percentile":0.88122,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"web","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2021-21708/","html_en":"/en/cve/CVE-2021-21708/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21708","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21708"},"untrusted":{"vendor_name":"Php","product_name":"Php","desc_en":"In PHP versions 7.4.x below 7.4.28, 8.0.x below 8.0.16, and 8.1.x below 8.1.3, when using filter functions with FILTER_VALIDATE_FLOAT filter and min/max limits, if the filter fails, there is a possibility to trigger use of allocated memory after free, which can result it crashes, and potentially in overwrite of other memory chunks and RCE. This issue affects: code that uses FILTER_VALIDATE_FLOAT with min/max limits.","affected":[{"untrusted_vendor":"PHP Group","untrusted_product":"PHP","versions":[]}],"references":[{"url":"https://bugs.php.net/bug.php?id=81708","tags":["Exploit","Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/202209-20","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220325-0004/","tags":["Third Party Advisory"]}]}}