cve.bz

CVE-2026-17544 php php: Out-of-bounds Write

8.1 highEPSS 0.4%

High (8.1) in php php. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 4.0

8.1 high
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

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-07-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-17544 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-17544?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-17544?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-17544 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
PHP Group PHPfrom 8.4.* before 8.4.24
PHP Group PHPfrom 8.5.* before 8.5.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13php8.48.4.24-1~deb13u1DEBIAN-CVE-2026-17544
Debian14php8.48.4.24-1DEBIAN-CVE-2026-17544
Ubuntu22.04:LTSphp8.18.1.2-1ubuntu2.26USN-8743-1
Ubuntu24.04:LTSphp8.38.3.6-0ubuntu0.24.04.11USN-8743-1
Ubuntu26.04:LTSphp8.58.5.4-0ubuntu1.3UBUNTU-CVE-2026-17544 USN-8743-1
Red Hatenterprise_linux:10.2php8.4, php8.4-gd, php8.4-cli and 47 more0:8.4.24-1.el10_2RHSA-2026:56969
Red Hathummingbird:1php, php-gd, php-cli and 25 more0:8.5.9-1.hum1RHSA-2026:47200
SUSELinux Enterprise Module for Web and Scripting 15 SP7php8, php8-fpm, php8-test and 3 more8.3.33-150700.3.18.1SUSE-SU-2026:3509-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0php8, php8-fpm, php8-embed and 2 more8.4.24-160000.1.1SUSE-SU-2026:23121-1 SUSE-SU-2026:23144-1
openSUSELeap 16.0php8, php8-fpm, php8-test and 3 more8.4.24-160000.1.1openSUSE-SU-2026:21532-1
openSUSETumbleweedphp88.5.9-1.1openSUSE-SU-2026:11418-1
AlmaLinux10php8.4, php8.4-gd, php8.4-cli and 22 more8.4.24-1.el10_2ALSA-2026:56969
Rocky Linux10php8.40:8.4.24-1.el10_2RLSA-2026:56969
Alpinev3.22, v3.23php848.4.27-r0ALPINE-CVE-2026-17544
Alpinev3.23php858.5.12-r0ALPINE-CVE-2026-17544
Alpinev3.24php848.4.24-r0ALPINE-CVE-2026-17544
Alpinev3.24php858.5.9-r0ALPINE-CVE-2026-17544

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important flaw in PHP that could lead to arbitrary code execution due to an out-of-bounds write in the `bccomp()` function. While exploitation requires high attack complexity, a successful attack could result in stack and heap corruption, potentially compromising the system. This affects PHP 8.4 and 8.5 streams in Red Hat Enterprise Linux 10 and Red Hat In-Vehicle OS 2.0.z.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10php8.4-0:8.4.24-1.el10_2Fixed 2026-08-19RHSA-2026:56969
Red Hat Hardened Imagesphp-main-8.5.9-1.hum1Fixed 2026-07-28RHSA-2026:47200
Red Hat Enterprise Linux 10phpNot affected
Red Hat Enterprise Linux 6phpOut of support scope
Red Hat Enterprise Linux 7phpNot affected
Red Hat Enterprise Linux 8php:7.4/phpNot affected
Red Hat Enterprise Linux 8php:8.2/phpNot affected
Red Hat Enterprise Linux 9phpNot affected
Red Hat Enterprise Linux 9php:8.2/phpNot affected
Red Hat Enterprise Linux 9php:8.3/phpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-17544.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • Boreas37/CVE-2026-17544-PoC Harbor Check: matches CVE 6 stars, PHP, created
    CVE-2026-17544 — PHP bcmath bccomp() OOB write (stack smashing). Verified: crash on 8.4.23/8.5.8, fixed in 8.4.24. GHSA-x692-q9x7-8c3f
  • r2qa/CVE-2026-17544 Harbor Check: matches CVE 0 stars, PHP, created
    CVE-2026-17544: PHP bcmath OOB write → universal memory-only RCE & disable_functions/open_basedir bypass. Offset-free runtime resolver. Ver…

References

Check your stackJSON