Vulnerability
CVE-2026-92842
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.
31 advisories report this vulnerability, across 13 ecosystems.
Advisories in Red Hat
-
RHSA-2026:70720
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:87080
Red Hat Security Advisory: php:7.4 security update
-
RHVEX-CVE-2026-92842
php: php: Information disclosure via out-of-bounds read in stream filters