CVE-2026-17544 Details
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.
A vulnerability exists in the PHP BCMath extension, specifically in the bccomp() function, where attacker-supplied inputs can cause an out-of-bounds write, leading to stack and heap corruption. This issue affects PHP versions 8.4.* prior to 8.4.24 and 8.5.* prior to 8.5.9. The vulnerability arises in the bc_str2num() function when the scale truncates a number with trailing zeros, allowing for memory corruption.
Users can upgrade to PHP versions 8.4.24 or 8.5.9 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/php/php-src/security/advisories/GHSA-x692-q9x7-8c3f | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php php | >= 8.4.0, < 8.4.24 >= 8.5.0, < 8.5.9 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 5, 2026 | Initial Analysis | [email protected] |
| Jul 31, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | New CVE Received | [email protected] |