CVE-2026-17544: ext-bcmath Buffer Overflow

CVE-2026-17544

NVD

Vulnerability 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.
Severity Level
HIGH
Published Date
Jul 30, 2026
Last Modified
Jul 31, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.43%Probability
Root Weakness (CWE)
The buffer being overwritten is allocated on the stack.
The product writes data past the end, or before the beginning, of the intended buffer.

Affected & Patched Versions

Affected Versions
  • ext-bcmath <8.4.24
  • ext-bcmath <8.5.9
Patched Versions
  • ext-bcmath 8.4.24
  • ext-bcmath 8.5.9

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run ext-bcmath and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Jul 30, 2026Published
  • Jul 31, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new ext-bcmath CVEsYou are reading CVE-2026-17544. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 29, 2026 20:13 UTC