Ask whoever manages your website or server what PHP version is running.
If it is older than PHP 5.2.0, treat this as urgent — that software is also missing roughly two decades of other security fixes.
Upgrade to a currently supported, modern PHP version (PHP 8.x) rather than just the old 5.2.0 fix, since PHP 5.x itself has been unsupported for years.
Have your developer or host test the site after upgrading, since very old PHP code sometimes needs small adjustments to run on modern PHP.
If you cannot upgrade immediately, ask your host to restrict or firewall direct access to the affected server while you plan the update.
Buffer overflow in PHP before 5.2.0 allows remote attackers to execute arbitrary code via crafted UTF-8 inputs to the (1) htmlentities or (2) htmlspecialchars functions.
In plain language
Written by AI from the record
This is a very old PHP bug (fixed long ago in PHP 5.2.0) that let attackers crash or take over websites using certain text-handling functions; if your software is anywhere near that old, update it, but most businesses today are already well past this version.
Buffer overflow in PHP's htmlentities/htmlspecialchars functions (pre-5.2.0) triggered by crafted UTF-8 input allows unauthenticated remote code execution with no user interaction required.
If you're affected
Full website takeover
Server-level compromise
Website defacement or downtime
Customer data exposure
What is it
This flaw is like a security guard at a building entrance who, when shown a cleverly disguised ID (crafted text in a certain format), can be tricked into letting someone in or collapsing at their post. Here the 'guard' is PHP's own text-cleaning functions, and the trick lets attackers crash the website or potentially run their own commands on the server. The affected version of PHP is extremely old at this point.
Who is affected
This matters to you if any part of your website, store, or internal tools still runs on PHP software from before version 5.2.0 — software that is now roughly 20 years old and essentially never still in active production unless something was badly neglected. It is reachable directly over the internet with no login needed, so if you do find software this old, it's exposed by default.
How urgent is it
There is no evidence this is being actively exploited right now and no public attack tool is known to exist, so this isn't an active fire drill — but the underlying weakness is serious (full remote takeover, no login needed) and the affected software is drastically out of date and unsupported. Treat discovery of a vulnerable system as a priority to fix on a reasonable timeline, not an ignore-it item, but also not a drop-everything emergency absent signs of active attacks.
What to do — in detail
Identify all servers/applications running PHP and record exact version numbers (php -v or server info pages). 2. Any instance below PHP 5.2.0 is vulnerable to this specific buffer overflow in htmlentities()/htmlspecialchars() via crafted UTF-8 sequences, and is also missing all subsequent security fixes for PHP 5.x, 7.x, and 8.x branches. 3. There is no standalone patch for this single CVE in current distribution — the practical remediation path is a full upgrade to a modern, supported PHP release (currently PHP 8.x; PHP 5.x and 7.x are both end-of-life). 4. Plan for a staged upgrade: test application compatibility on PHP 8.x in a staging environment first, since code written for PHP 5.x may use deprecated syntax/functions requiring updates. 5. If immediate upgrade isn't possible, mitigate by placing a WAF in front of the application to filter malformed/unusual UTF-8 input to any endpoint that calls these functions, and restrict network exposure where feasible. 6. No CISA KEV listing and no public exploit code are currently on record, and EPSS places predicted exploitation likelihood in a high percentile relative to all CVEs but trending downward — this does not change the core recommendation given the age and criticality of unpatched PHP 5.x. 7. Monitor for crashes or anomalous behavior in logs around htmlentities/htmlspecialchars calls as a low-confidence indicator, but prioritize the version upgrade over log monitoring as the actual fix.
Technical context
CVSS 7.5 (High) — AV:N/AC:L/Au:N/C:P/I:P/A:P: network-exploitable, low complexity, no authentication, partial impact to confidentiality/integrity/availability. Weakness class is CWE-Other (buffer overflow via malformed UTF-8 handling in PHP's internal string-escaping routines). No KEV listing, no known public exploit code — exploit maturity is low/theoretical at this time. EPSS score is 10.3% (96th percentile) with a falling trend, indicating elevated but non-confirmed predicted exploitation likelihood relative to the broader CVE population; per verdict precedence this should not be treated as confirmed exploitation. No patch/advisory metadata was found in PATCH findings beyond the known fix landing in PHP 5.2.0 per the original disclosure.
This is a general assessment based on public vulnerability data. It does not account for your specific infrastructure — when in doubt, consult a security specialist.