CVE-2026-7568: PHP · Integer Overflow or Wraparound
Affects PHPSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium · fixed in 8.5.6 : update PHP when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.5.6, 8.4.21, 8.3.31 +1
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/RE:L/U:AmberExploitation evidence
Disclosed: evidence found.
CVE published 10 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade php/php-src to 8.5.6, 8.4.21, 8.3.31 or 8.2.31.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PHP GroupPHP | Affected
| Fixed in– |
GitHubphp/php-srcpkg:github/php/php-srcOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Security updates addressing CVE-2026-7568 have been released by Red Hat for affected PHP versions. Users should apply the official patches provided in these updates to remediate the vulnerability. Patch status is confirmed by vendor advisories. No additional mitigation actions are specified or required beyond applying the official fixes.
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.
References
- github.com/php/php-src/security/advisories/GHSA-96wq-48vp-hh57 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-7568 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2468566 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7568.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:23388 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:22649 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:34354 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:22305 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:22142 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:22143 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33449 (opens in a new tab)