CVE-2026-92842

Source
https://cve.org/CVERecord?id=CVE-2026-92842
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-92842.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-92842
Aliases
Downstream
ALPINE (1)
ALSA (1)
AZL (1)
BELL (1)
CLEANSTART (1)
DEBIAN (1)
ECHO (1)
MGASA (1)
MINI (8)
OESA (4)
openSUSE (2)
RHSA (2)
RLSA (1)
SUSE (5)
UBUNTU (1)
Related
Published
2026-09-25T21:11:57Z
Modified
2026-11-04T10:45:32Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
OOB read / info leak in convert.* stream filters when line-break-chars contains NUL
Details

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.

Database specific
{
    "cna_assigner":  "php",
    "cwe_ids":  [
        "CWE-122",
        "CWE-125"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92842.json"
}
References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "8.2.0"
                },
                {
                    "fixed":  "8.2.34"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "8.3.0"
                },
                {
                    "fixed":  "8.3.35"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "8.4.0"
                },
                {
                    "fixed":  "8.4.26"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "8.5.0"
                },
                {
                    "fixed":  "8.5.11"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-92842.json"