ZeroDay Brief
CVE-2026-7568

If a string longer than 2,147,483,647 bytes is passed, a signed integer overflow occurs, resulting in undefined behavior.

CVSS
7.5High
Chance of exploitation (EPSS)
0.46%
Published
May 10, 2026
In the news
Not yet
Vendor advisory More from this vendor

What to do

A serious memory read flaw in PHP that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Fixed in: 8.2.31, 8.3.31, 8.4.21, 8.5.6

Affected versions
PHP
8.2.* to before 8.2.31; 8.3.* to before 8.3.31; 8.4.* to before 8.4.21; 8.5.* to before 8.5.6

Description

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.

CWE-125CWE-190

Affected products

Get alerts for these →

Timeline 7

Latest change: Tenable Cloud Security plugin 487434: Chainguard: multiple php-8.2 packages: security update to 8.2.31-r0 (Nov 30, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 11

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”