CVE-2026-92842 OOB read / info leak in convert.* stream filters when line-break-chars contains NUL
An out-of-bounds read in PHP stream filters allows attackers to leak adjacent heap memory when specific line-break options are used.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-92842?
CVE-2026-92842 is a medium-severity vulnerability in Php Php, published on 25 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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. When the filter later emits a line break it copies the recorded length out of the truncated allocation, reading past its end and placing adjacent heap bytes into the filter output.
Which versions are affected by CVE-2026-92842?
3 open source packages ship an affected version, including libphp, php and php-min. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
libphp Bitnami | From 8.2.0 | 8.2.34, 8.3.35, 8.4.26, 8.5.11 |
php Bitnami | From 8.2.0 | 8.2.34, 8.3.35, 8.4.26, 8.5.11 |
php-min Bitnami | From 8.2.0 | 8.2.34, 8.3.35, 8.4.26, 8.5.11 |
Products include Php Php.
How do I fix CVE-2026-92842?
Upgrade libphp to a fixed version for your release line: 8.2.34, 8.3.35, 8.4.26 or 8.5.11.
Is CVE-2026-92842 being exploited?
There is no known exploitation of CVE-2026-92842 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as AZL-104898, BELL-CVE-2026-92842, BIT-libphp-2026-92842, BIT-php-2026-92842, BIT-php-min-2026-92842, CLEANSTART-2026-HM12202 and 11 more.