Vendors › PHP
CVE-2026-92842
Medium (5.9) EPSS 0.3% PHP · standard
OOB read / info leak in convert.* stream filters when line-break-chars contains NUL
The convert.base64-encode, convert.quoted-printable-encode and convert.quoted-printable-decode stream filters accept a line-break-chars option whose length is tracked separately from the string itself. The filter constructors duplicate the value with pestrdup(), which stops at the first NUL byte, while keeping the original length.
| Published | 2026-09-24 |
| Updated | 2026-09-25 |
| Affected | PHP versions < 8.2.34; PHP versions < 8.3.35; PHP versions < 8.4.26; PHP versions < 8.5.11 |
| Fix | Upgrade to 8.2.34, 8.3.35, 8.4.26, 8.5.11 (first fixed release per supported branch). |
| CVEMesh analysis | The vulnerability is an out-of-bounds (OOB) read and information leak in certain PHP stream filters when they contain a null byte in the line-break characters.
Exploitation requires a specially crafted input that contains a null byte in the line-break characters.
The most important action is to upgrade to PHP version 8.2.34, 8.3.35, 8.4.26, or 8.5.11. AI-generated — see the vendor advisory for the authoritative text. |
| Vendor advisory | https://github.com/php/php-src/security/advisories/GHSA-88hq-2827-7pg6 |
CVEs (1)
| CVE | CWE | Type | Impact | Links |
|---|---|---|---|---|
| CVE-2026-92842 | CWE-122;CWE-125 | 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:87080 — Red Hat · High (8.1) · 2026-10-21
Red Hat Security Advisory: php:7.4 security update - RHSA-2026:70720 — Red Hat · High (7.5) · 2026-09-23
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.