VDB

CVE-2026-92842

CVE-2026-92842 PUBLISHED CVSS 5.9 MEDIUM

OOB read / info leak in convert.* stream filters when line-break-chars contains NUL

Reported by php · Published September 25, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php8.5-dbgAmazon Linux8.5.11-1.amzn2023.0.1
php-ldap-debuginfoerrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64
php-pecl-xdebug-debuginfoerrata.rockylinux.org2.9.5-1.module, 0:2.9.5-1.module+el8.10.0+1912+72767185.x86_64, 0:2.9.5-1.module+el8.10.0+1912+72767185.aarch64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.x86_64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.aarch64
php-odbc-debuginfoerrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64
php-pecl-apcuerrata.rockylinux.org5.1.18-1.module, 0:5.1.18-1.module+el8.10.0+1912+72767185.x86_64, 0:5.1.18-1.module+el8.10.0+1912+72767185.src, 0:5.1.18-1.module+el8.10.0+1604+6558efc7.x86_64, 0:5.1.18-1.module+el8.10.0+1604+6558efc7.src
php-debuginfoerrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64
php-dba-debuginfoerrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64
php-pgsql-debuginfoerrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64
php8.4-opcacheAmazon Linux8.4.26-1.amzn2023.0.1
php8.2-soapAmazon Linux8.2.34-1.amzn2023.0.1
php-enchanterrata.rockylinux.org7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64
libzip-tools-debuginfoerrata.rockylinux.org1.6.1-1.module, 0:1.6.1-1.module+el8.10.0+1912+72767185.x86_64, 0:1.6.1-1.module+el8.10.0+1604+6558efc7.x86_64

79 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
PHP GroupPHP8.2.*, 8.3.*, 8.4.*
amazon:2023php8.5-dbg0
amazon:2023php8.4-opcache0
amazon:2023php8.2-soap0
amazon:2023php8.3-common0
amazon:2023php8.5-common0
amazon:2023php8.5-xml0
alpinephp830, 0
amazon:2023php8.2-cli0
amazon:2023php8.3-xml0
amazon:2023php8.5-enchant0
alpinephp850, 0
amazon:2023php8.3-cli0
amazon:2023php8.4-devel0
amazon:2023php8.4-cli0
amazon:2023php8.5-devel0
amazon:2023php8.2-sodium0
amazon:2023php8.2-zip0
amazon:2023php8.5-snmp0
amazon:2023php8.3-modphp0

…and 102 more

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (19 in total, the first dated here)
  • Oct 21, 2026 Distribution Patch (2 in total, the first dated here)
  • Oct 21, 2026 Security Advisory (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-92842
vulnetix vdb fixes CVE-2026-92842

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-92842/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • vendor-advisory
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›