# CVE-2026-7568: Signed integer overflow in metaphone()

- Severity: Medium 6.3 (CVSS:4.0, scored by php) `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:Amber`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 50% of CVEs (2026-12-01)
- Published: 2026-05-10T03:42:36.433Z
- Modified: 2026-11-11T02:56:06.163Z
- Also known as: BIT-LIBPHP-2026-7568, BIT-PHP-2026-7568, BIT-PHP-MIN-2026-7568, GHSA-96wq-48vp-hh57
- Weaknesses: CWE-125, CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: php

## 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.

(As written by CVE List.)

## Affected

- PHP Group PHP: from 8.2.* before 8.2.31; from 8.3.* before 8.3.31; from 8.4.* before 8.4.21; from 8.5.* before 8.5.6
- php8.4: no versions given (not affected: from 0:8.4.21-1.el10_2 before *)
- php: no versions given (not affected: from 0:8.3.31-1.el10_2 before *; from 0:8.0.30-6.el9_8 before *)
- php:8.2: no versions given (not affected: from 8100020260521052503.f7998665 before *; from 9080020260521080715.9 before *)
- php:7.4: no versions given (not affected: from 8100020260604072603.f7998665 before *)
- php:8.3: no versions given (not affected: from 9080020260521113736.9 before *)
- php php: from 8.2.0 before 8.2.31; from 8.3.0 before 8.3.31; from 8.4.0 before 8.4.21; from 8.5.0 before 8.5.6
- libphp (Bitnami): from 8.2.0 before 8.2.31; from 8.3.0 before 8.3.31; from 8.4.0 before 8.4.21; from 8.5.0 before 8.5.6
- php (Bitnami): from 8.2.0 before 8.2.31; from 8.3.0 before 8.3.31; from 8.4.0 before 8.4.21; from 8.5.0 before 8.5.6
- php-min (Bitnami): from 8.2.0 before 8.2.31; from 8.3.0 before 8.3.31; from 8.4.0 before 8.4.21; from 8.5.0 before 8.5.6

## Every score

- php: CVSS:4.0 6.3 Medium `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:Amber`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/php/php-src/security/advisories/GHSA-96wq-48vp-hh57> (advisory, vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-7568> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2468566> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7568.json> (web)
- <https://access.redhat.com/errata/RHSA-2026:23388> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:22649> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:34354> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:22305> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:22142> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:22143> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:33449> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-7568> (web)

## Sources

- CVE List: [CVE-2026-7568](https://www.cve.org/CVERecord?id=CVE-2026-7568), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-7568](https://nvd.nist.gov/vuln/detail/CVE-2026-7568), Public domain, modified 2026-07-24
- Bitnami Vulnerability Database: [BIT-LIBPHP-2026-7568](https://osv.dev/vulnerability/BIT-LIBPHP-2026-7568), Apache-2.0, modified 2026-11-11
- Bitnami Vulnerability Database: [BIT-PHP-2026-7568](https://osv.dev/vulnerability/BIT-PHP-2026-7568), Apache-2.0, modified 2026-11-11
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2026-7568](https://osv.dev/vulnerability/BIT-PHP-MIN-2026-7568), Apache-2.0, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-7568 · Whole record: https://cve.day/CVE-2026-7568.json · Rebuilt by cve.day 2026-11-25T22:59:21.168Z
