CVE-2026-92842Php Heap-based Buffer Overflow
NVDCVSS scored by security@php.net
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 5.9 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- Php >= 8.2.0 and < 8.2.34
- Php >= 8.3.0 and < 8.3.35
- Php >= 8.4.0 and < 8.4.26
- Php >= 8.5.0 and < 8.5.11
- PHP Group PHP >= 8.2.* and < 8.2.34
- PHP Group PHP >= 8.3.* and < 8.3.35
- PHP Group PHP >= 8.4.* and < 8.4.26
- PHP Group PHP >= 8.5.* and < 8.5.11
- Php 8.2.34
- Php 8.3.35
- Php 8.4.26
- Php 8.5.11
- PHP Group PHP 8.2.34
- PHP Group PHP 8.3.35
- PHP Group PHP 8.4.26
- PHP Group PHP 8.5.11
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Php and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Sep 25, 2026Published
- Oct 27, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Php CVEsYou are reading CVE-2026-92842. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Sep 25, 2026 22:57 UTC