{"id":"DEBIAN-CVE-2026-7568","details":"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.","modified":"2026-09-14T17:03:53.697693804Z","published":"2026-05-10T05:16:11.920Z","upstream":["CVE-2026-7568"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-7568"}],"affected":[{"package":{"name":"php8.2","ecosystem":"Debian:12","purl":"pkg:deb/debian/php8.2?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.2.31-1~deb12u1"}]}],"versions":["8.2.10-1","8.2.10-2","8.2.12-1","8.2.16-1","8.2.16-2","8.2.17-1","8.2.18-1","8.2.18-1~deb12u1","8.2.20-1~deb12u1","8.2.20-2","8.2.20-3","8.2.21-1","8.2.23-1","8.2.24-1","8.2.24-1~deb12u1","8.2.26-1~deb12u1","8.2.26-4","8.2.27-1","8.2.28-1~deb12u1","8.2.29-1~deb12u1","8.2.30-1~deb12u1","8.2.5-2","8.2.7-1","8.2.7-1.1","8.2.7-1.2","8.2.7-1~deb12u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-7568.json"}},{"package":{"name":"php8.4","ecosystem":"Debian:13","purl":"pkg:deb/debian/php8.4?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.21-1~deb13u1"}]}],"versions":["8.4.11-1","8.4.16-1","8.4.16-1~deb13u1","8.4.20-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-7568.json"}},{"package":{"name":"php8.4","ecosystem":"Debian:14","purl":"pkg:deb/debian/php8.4?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.21-1"}]}],"versions":["8.4.11-1","8.4.16-1","8.4.16-1~deb13u1","8.4.20-1","8.4.21-1~deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-7568.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}