2084AI Security Observatory

CVE

CVE-2026-92842

CVE-2026-92842MED 5.9EPSS 20%

CNA 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 versions

All PHP vulnerabilities →

  • ≥ 8.5.0, < 8.5.11Fixed in 8.5.11
  • ≥ 8.4.0, < 8.4.26Fixed in 8.4.26
  • ≥ 8.3.0, < 8.3.35Fixed in 8.3.35
  • ≥ 8.2.0, < 8.2.34Fixed in 8.2.34

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.