PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-92842 PHP Group CVE debrief

A vulnerability in PHP's convert.base64-encode, convert.quoted-printable-encode, and convert.quoted-printable-decode stream filters allows for heap byte exposure. The filters' line-break-chars option length is tracked separately from the string, but the filter constructors duplicate the value with pestrdup(), which stops at the first NUL byte. When emitting a line break, the recorded length is used, reading past the allocation's end and placing adjacent heap bytes into the filter output.

Vendor
PHP Group
Product
PHP
CVSS
MEDIUM 5.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-25
Original CVE updated
2026-10-27
Advisory published
2026-09-25
Advisory updated
2026-10-27

Who should care

Defenders responsible for PHP deployments, particularly those using affected versions, should assess exposure and prioritize verification and remediation to prevent potential heap byte exposure.

Why it matters

CVE-2026-92842 is a vulnerability in PHP's convert.base64-encode, convert.quoted-printable-encode, and convert.quoted-printable-decode stream filters that allows for heap byte exposure. Defenders should prioritize verifying and updating PHP installations to prevent potential heap byte exposure. This involves assessing exposure in PHP deployments, particularly those using affected versions, and applying vendor-provided remediation.

  • Verification of PHP installations is required to prevent potential heap byte exposure
  • Assessment of exposure in PHP deployments, particularly those using affected versions, is necessary
  • Remediation priority is high for deployments using affected PHP versions

Technical summary

The convert.base64-encode, convert.quoted-printable-encode, and convert.quoted-printable-decode stream filters in PHP accept a line-break-chars option whose length is tracked separately from the string. 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.

Defensive priority

Defenders should prioritize verifying and updating PHP installations to prevent potential heap byte exposure. This involves assessing exposure in PHP deployments, particularly those using affected versions, and applying vendor-provided remediation.

Recommended defensive actions

  • Verify and update PHP installations to prevent potential heap byte exposure
  • Assess exposure in PHP deployments, particularly those using affected versions
  • Apply vendor-provided remediation
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, including its description, CVSS score, and affected versions. However, information on exploitation, impact, and remediation is limited.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-92842 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-92842

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-92842 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-92842

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.