CVE-2026-92842 OOB read / info leak in convert.* stream filters when line-break-chars contains NUL
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHPUbuntuDebianRed Hat
Description
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.
Upgrade path
29 packages: 20 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/php(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/php(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/php(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/php8.4(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/php:7.4-8100020261021081045.f7998665(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/php:8.2/php(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/php:8.2/php(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/php:8.3/php(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/php:8.4/php(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| alpine/php82(Alpine v3.22) | < 8.2.35-r0 | 8.2.35-r0 | Fixed |
| alpine/php83(Alpine v3.22) | < 8.3.36-r0 | 8.3.36-r0 | Fixed |
| alpine/php83(Alpine v3.23) | < 8.3.36-r0 | 8.3.36-r0 | Fixed |
| alpine/php83(Alpine v3.24) | < 8.3.35-r0 | 8.3.35-r0 | Fixed |
| alpine/php84(Alpine v3.22) | < 8.4.27-r0 | 8.4.27-r0 | Fixed |
| alpine/php84(Alpine v3.23) | < 8.4.27-r0 | 8.4.27-r0 | Fixed |
| alpine/php84(Alpine v3.24) | < 8.4.26-r0 | 8.4.26-r0 | Fixed |
| alpine/php85(Alpine v3.23) | < 8.5.12-r0 | 8.5.12-r0 | Fixed |
| alpine/php85(Alpine v3.24) | < 8.5.11-r0 | 8.5.11-r0 | Fixed |
| debian/php8.2(Debian 12) | < 8.2.34-1~deb12u1; = 8.2.5-2; = 8.2.7-1; = 8.2.7-1.1 +26 more | 8.2.34-1~deb12u1 | Fixed |
| debian/php8.4(Debian 13) | < 8.4.26-1~deb13u1; = 8.4.11-1; = 8.4.16-1; = 8.4.16-1~deb13u1 +8 more | 8.4.26-1~deb13u1 | Fixed |
| debian/php8.4(Debian 14) | < 8.4.26-1; = 8.4.11-1; = 8.4.16-1; = 8.4.16-1~deb13u1 +9 more | 8.4.26-1 | Fixed |
| PHP | < 8.2.34; < 8.3.35; < 8.4.26; < 8.5.11 +4 more | 8.2.34, 8.3.35, 8.4.26, 8.5.11 | Fixed |
| PHP(Azure Linux 3.0) | < 8.3.35-1 | 8.3.35-1 | Fixed |
| PHP(Azure Linux 4.0) | < 0:8.4.26-5.azl4 | 0:8.4.26-5.azl4 | Fixed |
| redhat/php-main(Red Hat hummingbird 1) | < 8.5.11-2.hum1 | 8.5.11-2.hum1 | Fixed |
| ubuntu/php8.1(Ubuntu 22.04) | < 8.1.2-1ubuntu2.27 | 8.1.2-1ubuntu2.27 | Fixed |
| ubuntu/php8.3(Ubuntu 24.04) | < 8.3.6-0ubuntu0.24.04.12 | 8.3.6-0ubuntu0.24.04.12 | Fixed |
| ubuntu/php8.5(Ubuntu 26.04) | < 8.5.4-0ubuntu1.4 | 8.5.4-0ubuntu1.4 | Fixed |
| ubuntu/php8.5(Ubuntu 26.10) | < 8.5.9-0ubuntu2 | 8.5.9-0ubuntu2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | < 8.2.34 | 8.2.34 |
| PHP | < 8.3.35 | 8.3.35 |
| PHP | < 8.4.26 | 8.4.26 |
| PHP | < 8.5.11 | 8.5.11 |
| redhat/php:7.4-8100020261021081045.f7998665(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/php-main(Red Hat:hummingbird:1) | < 8.5.11-2.hum1 | 8.5.11-2.hum1 |
| redhat/php(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/php8.4(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/php(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/php(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/php:8.2/php(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/php(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/php:8.2/php(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/php:8.3/php(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/php:8.4/php(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| debian/php8.2(Debian:12) | < 8.2.34-1~deb12u1 | 8.2.34-1~deb12u1 |
| debian/php8.2(Debian:12) | = 8.2.10-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.10-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.12-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.16-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.16-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.17-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.18-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.18-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.20-1~deb12u1 | No fix listed |
Show 64 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/php8.2(Debian:12) | = 8.2.20-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.20-3 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.21-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.23-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.24-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.24-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.26-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.26-4 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.27-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.28-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.29-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.30-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.31-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.32-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.33-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.5-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1.1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1.2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1~deb12u1 | No fix listed |
| debian/php8.4(Debian:13) | < 8.4.26-1~deb13u1 | 8.4.26-1~deb13u1 |
| debian/php8.4(Debian:13) | = 8.4.11-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.16-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.16-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.20-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.21-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.21-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.22-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.23-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.23-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.24-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.24-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | < 8.4.26-1 | 8.4.26-1 |
| debian/php8.4(Debian:14) | = 8.4.11-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.16-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.16-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.20-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.21-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.21-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.22-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.23-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.23-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.24-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.24-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.26-1~deb13u1 | No fix listed |
| ubuntu/php8.1(Ubuntu:22.04) | < 8.1.2-1ubuntu2.27 | 8.1.2-1ubuntu2.27 |
| alpine/php82(Alpine:v3.22) | < 8.2.35-r0 | 8.2.35-r0 |
| alpine/php83(Alpine:v3.22) | < 8.3.36-r0 | 8.3.36-r0 |
| alpine/php83(Alpine:v3.23) | < 8.3.36-r0 | 8.3.36-r0 |
| alpine/php83(Alpine:v3.24) | < 8.3.35-r0 | 8.3.35-r0 |
| alpine/php84(Alpine:v3.22) | < 8.4.27-r0 | 8.4.27-r0 |
| alpine/php84(Alpine:v3.23) | < 8.4.27-r0 | 8.4.27-r0 |
| alpine/php84(Alpine:v3.24) | < 8.4.26-r0 | 8.4.26-r0 |
| alpine/php85(Alpine:v3.23) | < 8.5.12-r0 | 8.5.12-r0 |
| alpine/php85(Alpine:v3.24) | < 8.5.11-r0 | 8.5.11-r0 |
| ubuntu/php8.3(Ubuntu:24.04) | < 8.3.6-0ubuntu0.24.04.12 | 8.3.6-0ubuntu0.24.04.12 |
| ubuntu/php8.5(Ubuntu:26.04) | < 8.5.4-0ubuntu1.4 | 8.5.4-0ubuntu1.4 |
| ubuntu/php8.5(Ubuntu:26.10) | < 8.5.9-0ubuntu2 | 8.5.9-0ubuntu2 |
| PHP | >= 8.2.0, < 8.2.34 | 8.2.34 |
| PHP | >= 8.3.0, < 8.3.35 | 8.3.35 |
| PHP | >= 8.4.0, < 8.4.26 | 8.4.26 |
| PHP | >= 8.5.0, < 8.5.11 | 8.5.11 |
| PHP(Azure Linux:3.0) | < 8.3.35-1 | 8.3.35-1 |
| PHP(Azure Linux:4.0) | < 0:8.4.26-5.azl4 | 0:8.4.26-5.azl4 |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- github.com exploit vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:87080 patch vendor-advisory
- RHSA-2026:70720 patch vendor-advisory
- Red Hat Bugzilla 2541662 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-92842 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8936-1 vendor-advisory
- security.alpinelinux.org vendor-advisory
- ENISA EUVD EUVD-2026-87351 third-party-advisory