CVE-2026-7568: Signed integer overflow in metaphone()
Vulnerability summary
CVE-2026-7568 is a high (CVSS 7.5) Out-of-bounds Read vulnerability in php group php. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 50.1% of scored vulnerabilities.
Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 18 · Related 4Timeline
- 10-05-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS: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:Amber
- NVDNIST6.3MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:L/U:Amber
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.60%
Chance of exploitation in the next 30 days
Percentile
50%
Versus all other CVEs
30-day change
Increase +0.14 pp
From 0.46% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-125Out-of-bounds ReadThe product reads data past the end, or before the beginning, of the intended buffer.
- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu8 products
- php5All versions (No fix recorded)
- php7.0< 7.0.33-0ubuntu0.16.04.16+esm20
- php7.2All versions (No fix recorded)
- php7.4All versions (No fix recorded)
- php8.1< 8.1.2-1ubuntu2.24
Alpine5 products
- php81< 8.1.34-r0
- php82< 8.2.31-r0
- php83< 8.3.36-r0 | < 8.3.31-r0
- php84< 8.4.27-r0 | < 8.4.21-r0
- php85< 8.5.6-r0
Debian2 products
- php8.2< 8.2.31-1~deb12u1
- php8.4< 8.4.21-1~deb13u1 | < 8.4.21-1
Chainguard1 product
- php-8.2< 8.2.31-r0
Php1 product
- php≥ 8.2.0, < 8.2.31 | ≥ 8.3.0, < 8.3.31 | ≥ 8.4.0, < 8.4.21 | ≥ 8.5.0, < 8.5.6
Php group1 product
- php≥ 8.2.*, < 8.2.31 | ≥ 8.3.*, < 8.3.31 | ≥ 8.4.*, < 8.4.21 | ≥ 8.5.*, < 8.5.6
Wolfi1 product
- php-8.2< 8.2.31-r0
7 vendors · 19 products