{"id":"CVE-2026-7568","aliases":["CVE-2026-7568","BIT-LIBPHP-2026-7568","BIT-PHP-2026-7568","BIT-PHP-MIN-2026-7568","GHSA-96wq-48vp-hh57"],"related":[],"kind":"vulnerability","state":"published","title":"Signed integer overflow in metaphone()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En las versiones de PHP 8.2.* anteriores a la 8.2.31, 8.3.* anteriores a la 8.3.31, 8.4.* anteriores a la 8.4.21, y 8.5.* anteriores a la 8.5.6, la función metaphone() en ext/standard/metaphone.c utiliza una variable de tipo entero con signo para rastrear la posición actual dentro de la cadena de entrada. Si se pasa una cadena de más de 2.147.483.647 bytes, se produce un desbordamiento de entero con signo, lo que resulta en un comportamiento indefinido. Esto puede llevar a una lectura fuera de límites, causando un fallo de segmentación o acceso a memoria no relacionada, y puede afectar la disponibilidad del proceso de PHP.","source":"nvd"}],"published":"2026-05-10T03:42:36.433Z","modified":"2026-11-11T02:56:06.163Z","severity":{"scorer":"php","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"php","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-125","CWE-190"],"affected":[{"ranges":[{"type":"semver","introduced":"8.2.*","fixed":"8.2.31","status":"affected"},{"type":"semver","introduced":"8.3.*","fixed":"8.3.31","status":"affected"},{"type":"semver","introduced":"8.4.*","fixed":"8.4.21","status":"affected"},{"type":"semver","introduced":"8.5.*","fixed":"8.5.6","status":"affected"}],"vendor":"PHP Group","product":"PHP","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:8.4.21-1.el10_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"php8.4","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:8.3.31-1.el10_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"php","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"8100020260521052503.f7998665","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"php:8.2","cpe":"cpe:/a:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"8100020260604072603.f7998665","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"php:7.4","cpe":"cpe:/a:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"9080020260521113736.9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"php:8.3","cpe":"cpe:/a:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"9080020260521080715.9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"php:8.2","cpe":"cpe:/a:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:8.0.30-6.el9_8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"php","cpe":"cpe:/a:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"php","cpe":"cpe:/o:redhat:enterprise_linux:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"php","cpe":"cpe:/o:redhat:enterprise_linux:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Hardened Images","package":"php","cpe":"cpe:/a:redhat:hummingbird:1","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"8.2.0","fixed":"8.2.31"},{"status":"affected","introduced":"8.3.0","fixed":"8.3.31"},{"status":"affected","introduced":"8.4.0","fixed":"8.4.21"},{"status":"affected","introduced":"8.5.0","fixed":"8.5.6"}],"vendor":"php","product":"php","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.31"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.31"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.21"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.6"}],"ecosystem":"Bitnami","package":"libphp","purl":"pkg:bitnami/libphp","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.31"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.31"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.21"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.6"}],"ecosystem":"Bitnami","package":"php","purl":"pkg:bitnami/php","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.31"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.31"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.21"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.6"}],"ecosystem":"Bitnami","package":"php-min","purl":"pkg:bitnami/php-min","source":"bitnami"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-96wq-48vp-hh57","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-7568","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2468566","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7568.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:23388","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22649","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:34354","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22305","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22142","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22143","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/errata/RHSA-2026:33449","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7568","tags":["web"],"sources":["bitnami"]}],"credits":["Aleksey Solovev (Positive Technologies)","Tim Düsterhus"],"assigner":"php","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-11T13:25:08.120Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-7568","url":"https://www.cve.org/CVERecord?id=CVE-2026-7568","licence":"CVE Terms of Use","modified":"2026-07-15T00:39:53.392Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-7568","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7568","licence":"Public domain","modified":"2026-07-24T08:10:00.150Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPHP-2026-7568","url":"https://osv.dev/vulnerability/BIT-LIBPHP-2026-7568","licence":"Apache-2.0","modified":"2026-11-11T02:56:06.163Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-2026-7568","url":"https://osv.dev/vulnerability/BIT-PHP-2026-7568","licence":"Apache-2.0","modified":"2026-11-11T02:56:06.163Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-MIN-2026-7568","url":"https://osv.dev/vulnerability/BIT-PHP-MIN-2026-7568","licence":"Apache-2.0","modified":"2026-11-11T02:56:06.163Z"}],"updatedAt":"2026-11-25T22:59:21.168Z","epss":{"score":0.00599,"percentile":0.5002,"date":"2026-12-01T12:00:22.000Z"}}