CVE-2026-92842

OOB read / info leak in convert.* stream filters when line-break-chars contains NUL

MEDIUM
5.9
CVSS Score
Published: September 25, 2026 at 09:11 PM UTC
Updated: October 27, 2026 at 03:33 PM UTC
1 product affected across 1 vendorPHP

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
8.2.0 ≤ v < 8.2.348.3.0 ≤ v < 8.3.358.4.0 ≤ v < 8.4.268.5.0 ≤ v < 8.5.118.2.*8.3.*8.4.*8.5.*
Affected range stops below 8.2.34, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.3.35, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.4.26, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.5.11, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.9MEDIUMphp
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-122CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card