← CVE Intelligence

CVE-2026-92842

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

Description (CNA)

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 (CNA)

Vendor / productVersions
PHP Group / PHPaffected 8.2.* before 8.2.34; affected 8.3.* before 8.3.35; affected 8.4.* before 8.4.26; affected 8.5.* before 8.5.11

CWE

CWE-122, CWE-125

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.