PHP up to 7.4.27/8.0.15/8.1.2 FILTER_VALIDATE_FLOAT use after free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.6 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in PHP up to 7.4.27/8.0.15/8.1.2. The impacted element is an unknown function of the component FILTER_VALIDATE_FLOAT Handler. This manipulation causes use after free. This vulnerability is registered as CVE-2021-21708. Remote exploitation of the attack is possible. No exploit is available. It is advisable to upgrade the affected component.
Details
A vulnerability classified as critical was found in PHP up to 7.4.27/8.0.15/8.1.2 (Programming Language Software). Affected by this vulnerability is an unknown functionality of the component FILTER_VALIDATE_FLOAT Handler. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability.
The weakness was published 02/27/2022 as 81708. It is possible to read the advisory at bugs.php.net. This vulnerability is known as CVE-2021-21708 since 01/04/2021. The technical details are unknown and an exploit is not publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 233258 (RHEL 8 : php:7.4 (RHSA-2025:3016)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 7.4.28, 8.0.16 or 8.1.3 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (233258). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
- 7.4.0
- 7.4.1
- 7.4.2
- 7.4.3
- 7.4.4
- 7.4.5
- 7.4.6
- 7.4.7
- 7.4.8
- 7.4.9
- 7.4.10
- 7.4.11
- 7.4.12
- 7.4.13
- 7.4.14
- 7.4.15
- 7.4.16
- 7.4.17
- 7.4.18
- 7.4.19
- 7.4.20
- 7.4.21
- 7.4.22
- 7.4.23
- 7.4.24
- 7.4.25
- 7.4.26
- 7.4.27
- 8.0.0
- 8.0.1
- 8.0.2
- 8.0.3
- 8.0.4
- 8.0.5
- 8.0.6
- 8.0.7
- 8.0.8
- 8.0.9
- 8.0.10
- 8.0.11
- 8.0.12
- 8.0.13
- 8.0.14
- 8.0.15
- 8.1.0
- 8.1.1
- 8.1.2
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.7VulDB Meta Temp Score: 7.6
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 8.2
CNA Vector (PHP Group): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 233258
Nessus Name: RHEL 8 : php:7.4 (RHSA-2025:3016)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 7.4.28/8.0.16/8.1.3
Timeline
01/04/2021 🔍02/27/2022 🔍
02/27/2022 🔍
03/23/2025 🔍
Sources
Product: php.orgAdvisory: 81708
Status: Confirmed
CVE: CVE-2021-21708 (🔍)
GCVE (CVE): GCVE-0-2021-21708
GCVE (VulDB): GCVE-100-193915
Entry
Created: 02/27/2022 13:52Updated: 03/23/2025 05:14
Changes: 02/27/2022 13:52 (50), 03/03/2022 09:07 (1), 03/23/2025 05:14 (16)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.