Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-7568
Published:May 10, 2026
Updated:May 16, 2026
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 Packages
https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.3.0 <php-8.3.31
Fix Suggestion:
Update to version php-8.3.31
https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.5.0 <php-8.5.6
Fix Suggestion:
Update to version php-8.5.6
https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.4.0 <php-8.4.21
Fix Suggestion:
Update to version php-8.4.21
https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.2.0 <php-8.2.31
Fix Suggestion:
Update to version php-8.2.31
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
LOW
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Out-of-bounds Read
Integer Overflow or Wraparound
EPSS
Base Score:
0.06