OOB read / info leak in convert.* stream filters when line-break-chars contains NUL
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.
CVE-2026-92842
Primary source · Revision 2
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-92842
PHP
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "PHP Group",
"product": "PHP",
"versions": [
{
"status": "affected",
"version": "8.2.*",
"lessThan": "8.2.34",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.3.*",
"lessThan": "8.3.35",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.4.*",
"lessThan": "8.4.26",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.5.*",
"lessThan": "8.5.11",
"versionType": "semver"
}
],
"packageName": "ext-standard",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-92842
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #59654 · Revision 2
- Added to Heist Feed
- Publisher date