Original description
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 software
- PHP ≥ 8.1.0 < 8.1.3≥ 7.4.0 < 7.4.28≥ 8.0.0 < 8.0.16 Fixed in: 8.1.3, 7.4.28, 8.0.16 exact match
Details
- Published
- 2022-02-27
- Last modified
- 2024-09-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L- CWE
- CWE-416
- EPSS (30-day exploit probability)
- 3.00% (percentile 88)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.