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
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.
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.
Tue, Dec 1, 2026
Wed, Nov 25, 2026
- DetectionNessus plugin 386038: RHEL 10 : php (RHSA-2026:102934)Tenable
Tue, Nov 24, 2026
- DetectionNessus plugin 385616: RHEL 9 : php:8.2 (RHSA-2026:102695)Tenable
- DetectionNessus plugin 385618: RHEL 9 : php:8.2 (RHSA-2026:102696)Tenable
- DetectionNessus plugin 385621: RHEL 9 : php:8.3 (RHSA-2026:102684)Tenable
Tue, Nov 17, 2026
- DetectionNessus plugin 370448: Oracle Linux 8 : php:7.4 (ELSA-2026-87080)Tenable
Sun, May 10, 2026
- CVECVE-2026-7568 published (CVSS 7.5)CVE Program · 05:16 UTC
References 11
- github.com Vendor Advisory /php/php-src/security/advisories/GHSA-96wq-48vp-hh57
- access.redhat.com /errata/RHSA-2026:22142
- access.redhat.com /errata/RHSA-2026:22143
- access.redhat.com /errata/RHSA-2026:22305
- access.redhat.com /errata/RHSA-2026:22649
- access.redhat.com /errata/RHSA-2026:23388
- access.redhat.com /errata/RHSA-2026:33449
- access.redhat.com /errata/RHSA-2026:34354
- access.redhat.com /security/cve/CVE-2026-7568
- bugzilla.redhat.com /show_bug.cgi?id=2468566
- security.access.redhat.com /data/csaf/v2/vex/2026/cve-2026-7568.json