CVE-2026-7568
NVD
Vulnerability Summary
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, the metaphone() function in ext/standard/metaphone.c uses a signed int variable to track the current position within the input string. If a string longer than 2,147,483,647 bytes is passed, a signed integer overflow occurs, resulting in undefined behavior. This can lead to an out-of-bounds read, causing a segmentation fault or access to unrelated memory, and may affect the availability of the PHP process.
Affected & Patched Versions
- ext-standard < 8.2.31
- ext-standard < 8.3.31
- ext-standard < 8.4.21
- ext-standard < 8.5.6
- ext-standard 8.2.31
- ext-standard 8.3.31
- ext-standard 8.4.21
- ext-standard 8.5.6
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run ext-standard and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- May 10, 2026Published
- Jul 15, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new ext-standard CVEsYou are reading CVE-2026-7568. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 29, 2026 20:13 UTC