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.
Published: 2022-02-27
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-5082-1 php7.4 security update
EUVD EUVD EUVD-2021-8880 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.
Ubuntu USN Ubuntu USN USN-5303-1 PHP vulnerability
History

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00297}

epss

{'score': 0.00305}


Fri, 21 Mar 2025 02:30:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_aus:8.4
cpe:/a:redhat:rhel_e4s:8.4
cpe:/a:redhat:rhel_tus:8.4

Wed, 19 Mar 2025 02:30:00 +0000

Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Tus
CPEs cpe:/a:redhat:rhel_aus:8.6
cpe:/a:redhat:rhel_e4s:8.6
cpe:/a:redhat:rhel_tus:8.6
Vendors & Products Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Tus

Sat, 15 Feb 2025 02:15:00 +0000

Type Values Removed Values Added
Metrics threat_severity

Moderate

threat_severity

Important


Subscriptions

Php Php
Redhat Enterprise Linux Rhel Aus Rhel E4s Rhel Tus
cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2024-09-17T03:18:02.531Z

Reserved: 2021-01-04T00:00:00.000Z

Link: CVE-2021-21708

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-02-27T08:15:06.817

Modified: 2024-11-21T05:48:52.737

Link: CVE-2021-21708

cve-icon Redhat

Severity : Important

Publid Date: 2022-02-17T00:00:00Z

Links: CVE-2021-21708 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses