Vendors › PHP
CVE-2026-17544
High (no CVSS assigned) EPSS 0.5% PHP · bcmath
Out-of-bounds write in bccomp() via crafted operand and scale
A 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.
| Published | 2026-07-30 |
| Updated | 2026-07-30 |
| Affected | PHP versions < 8.4.24; PHP versions < 8.5.9 |
| Fix | Upgrade to 8.4.24, 8.5.9 (first fixed release per supported branch). |
| Vendor advisory | https://github.com/php/php-src/security/advisories/GHSA-x692-q9x7-8c3f |
CVEs (1)
| CVE | CWE | Type | Impact | Links |
|---|---|---|---|---|
| CVE-2026-17544 | CWE-787 | Overflow | Code Execution | NVD · CVE.org · EUVD |
CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.
Same CVE in other advisories
- RHSA-2026:56969 — Red Hat · High (8.1) · 2026-08-19
Red Hat Security Advisory: php8.4 security update - K000162967 — F5 · N/A (F5 products not affected) · 2026-08-18
PHP vulnerability CVE-2026-17544 - RHSA-2026:47200 — Red Hat · Critical (8.1) · 2026-07-28
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
Open in the CVEMesh app Create a free account
Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.
CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.