BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-21708 in Php

Critical 9.8 Industrial / OT

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.

Affects 1 product from 2 vendors. Description from NVD and MITRE.

CVSS 3.19.8
EPSS3.0%
EPSS percentile88th

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Php Php ≥ 7.4.0, < 7.4.28 ≥ 8.0.0, < 8.0.16 ≥ 8.1.0, < 8.1.3
Siemens — —
Siemens Ruggedcom Ape1808 Firmware All versions

Fix and vendor advisory

  • RUGGEDCOM APE1808: Upgrade Palo Alto Networks Virtual NGFW V11.1.2-h3. Contact customer support to receive patch and update information

Source: ICSA-24-102-04

  • Festo Didactic SE MES PC shipped with Windows 10: Festo Didactic has released Factory Control Panel as a replacement for XAMPP on its MES PCs. Contact technical support at [email protected] to obtain the current version of Factory Control Panel which includes fixes for these vulnerabilities.

Source: ICSA-26-027-02

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2021-21708
BreachSpider IDBS-2022-GLOBAL-070249-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2022-02-27
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement input validation and sanitization for all user-supplied data before passing it to the FILTER_VALIDATE_FLOAT function. Consider using alternative validation methods or libraries that do not have this vulnerability.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.