{"vuln_id":"CVE-2026-17544","aliases":["CVE-2026-17543","CVE-2026-7260","GHSA-x692-q9x7-8c3f"],"description":"php8.4 - security update","published_at":"2026-07-30T11:03:07Z","modified_at":"2026-11-20T01:28:38.827762Z","first_seen_at":"2026-11-22T13:39:48.453567Z","severity":"critical","severity_source":"cvss","cvss_score":9.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-121","CWE-787"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00418,"epss_percentile":0.36866,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-17544"},"matched_alias":null,"items":[{"id":11895,"source":{"id":"debian13-php","name":"Debian 13 php8.4 (package vulnerabilities)"},"title":"php8.4 (Debian:13): DSA-6406-1 / CVE-2026-17543 - php8.4 - security update","summary":"Affected: Debian:13:php8.4\n\nFixed in: 8.4.24-1~deb13u1","url":"https://osv.dev/vulnerability/DSA-6406-1","published_at":"2026-07-31T00:00:00Z","updated_at":"2026-11-20T01:28:38.827762Z","fetched_at":"2026-11-22T13:39:48.366365Z","severity":"critical","cvss_score":9.8,"epss":0.00418,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php8.4","vuln_id":"CVE-2026-17543","vuln_ids":["CVE-2026-17543","CVE-2026-17544","CVE-2026-7260","DSA-6406-1","GHSA-7QPV-R5MR-78M4","GHSA-VC5H-9PPW-P5F3","GHSA-X692-Q9X7-8C3F"],"tags":["package-watch","pkg:php8.4","stack","debian13","fix-available"],"cluster_id":338,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11895","html":"https://vulnwatch.ve1ve2.com/item/11895"}},{"id":11909,"source":{"id":"debian13-php","name":"Debian 13 php8.4 (package vulnerabilities)"},"title":"php8.4 (Debian:13): DEBIAN-CVE-2026-17544 / CVE-2026-17544 - Attacker-provided inputs to bccomp() could lead to an out-of-bounds write with stack and heap corruption in PHP versions from 8.4.* before 8.4.24 and from 8.5.…","summary":"Attacker-provided inputs to bccomp() could lead to an out-of-bounds write with stack and heap corruption in PHP versions from 8.4.* before 8.4.24 and from 8.5.* before 8.5.9.\n\nAffected: Debian:13:php8.4, Debian:14:php8.4\n\nFixed in: 8.4.24-1~deb13u1, 8.4.24-1\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2026-17544","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-17544","published_at":"2026-07-30T12:17:27.347000Z","updated_at":"2026-10-24T09:47:30.037649Z","fetched_at":"2026-11-22T13:39:48.366384Z","severity":"critical","cvss_score":9.8,"epss":0.00418,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php8.4","vuln_id":"CVE-2026-17544","vuln_ids":["CVE-2026-17543","CVE-2026-17544","CVE-2026-7260","DEBIAN-CVE-2026-17544","GHSA-X692-Q9X7-8C3F"],"tags":["package-watch","pkg:php8.4","stack","debian13","fix-available"],"cluster_id":11155,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11909","html":"https://vulnwatch.ve1ve2.com/item/11909"}},{"id":12633,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"GHSA-x692-q9x7-8c3f / CVE-2026-17544: Out-of-bounds write in bccomp() via crafted operand and scale","summary":"Out-of-bounds write in bccomp() via crafted operand and scale\n\nA call to `bccomp()` with attacker-supplied inputs can lead to an out-of-bounds write to either stack or heap memory. The bug occurs in `bc_str2num()` when the scale truncates a number whose trailing zeros are subsequently trimmed.\r\n\r\nhttps://github.com/php/php-src/blob/a480965c90b4f4948f211c8b139788371e031838/ext/bcmath/libbcmath/src/str2num.c#L169-L185\r\n\r\n`str_scale` later determines the number of digits after the decimal point in the resulting string.\r\n\r\nhttps://github.com/php/php-src/blob/a480965c90b4f4948f211c8b139788371e031838/ext/bcmath/libbcmath/src/str2num.c#L203\r\n\r\nThe string is later populated using `bc_copy_and_toggle_bcd(nptr, fractional_ptr, fractional_end)`.\r\n\r\nhttps://github.com/php/php-src/blob/a480965c90b4f4948f211c8b139788371e031838/ext/bcmath/libbcmath/src/str2num.c#L213\r\n\r\nNote that we have shortened the allocated string (`str_scale -= fractional_end - fractional_new_end;`) but have not adjusted `fractional_end` itself. Consequently, `bc_copy_and_toggle_bcd(nptr, fractional_ptr, fractional_end)` will copy the original, untruncated string into a buffer that is too small, leading to an out-of-bounds write.\r\n\r\nBCMath uses a small stack-allocated arena for numbers before falling back to heap allocation, enabling both stack and heap corruption, depending on where the buffer is allocated.\r\n\r\nThe patch adds `fractional_end = fractional_new_end;` after the zero truncation.\r\n\n\nAffected packages: php:ext-bcmath\nPatched: ext-bcmath 8.4.24, ext-bcmath 8.5.9","url":"https://github.com/php/php-src/security/advisories/GHSA-x692-q9x7-8c3f","published_at":"2026-07-30T11:03:07Z","updated_at":"2026-07-30T11:03:07Z","fetched_at":"2026-11-22T14:05:37.431177Z","severity":"critical","cvss_score":9.8,"epss":0.00418,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"ext-bcmath","vuln_id":"CVE-2026-17544","vuln_ids":["CVE-2026-17543","CVE-2026-17544","CVE-2026-7260","GHSA-X692-Q9X7-8C3F"],"tags":["repo-advisory","php","CWE-121","CWE-787","security","repo:php/php-src","stack"],"cluster_id":11742,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12633","html":"https://vulnwatch.ve1ve2.com/item/12633"}}]}