Heap Vulnerability in PHP's Encoding Stream Filters
CVE-2026-92842

5.9MEDIUM

Key Information:

Vendor

PHP Group

Status
Vendor
CVE Published:
25 September 2026

What is CVE-2026-92842?

A vulnerability in PHP's convert.base64-encode, convert.quoted-printable-encode, and convert.quoted-printable-decode stream filters can lead to a heap overflow. This occurs when the filters accept a line-break-chars option, whose length is inaccurately tracked, resulting in potential reading of adjacent heap bytes. When these filters emit line breaks, they may inadvertently copy lengths from truncated allocations, posing risks for data integrity and security.

Affected Version(s)

PHP 8.2.* < 8.2.34

PHP 8.3.* < 8.3.35

PHP 8.4.* < 8.4.26

References

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

@geeknik (GitHub)
Nora Dossche
Jakub Zelenka
.