{"id":"BIT-libphp-2026-7568","summary":"Signed integer overflow in metaphone()","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.","aliases":["BIT-php-2026-7568","BIT-php-min-2026-7568","CVE-2026-7568"],"modified":"2026-05-12T10:56:26.660139482Z","published":"2026-05-12T08:50:34.032Z","database_specific":{"cpes":["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"https://github.com/php/php-src/security/advisories/GHSA-96wq-48vp-hh57"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7568"}],"affected":[{"package":{"name":"libphp","ecosystem":"Bitnami","purl":"pkg:bitnami/libphp"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.2.0"},{"fixed":"8.2.31"},{"introduced":"8.3.0"},{"fixed":"8.3.31"},{"introduced":"8.4.0"},{"fixed":"8.4.21"},{"introduced":"8.5.0"},{"fixed":"8.5.6"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/libphp/BIT-libphp-2026-7568.json"},"severity":[{"type":"CVSS_V4","score":"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/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"}]}],"schema_version":"1.7.5"}