Skip to content
Heist/ feed
MediumFix available

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

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

BIT-libphp-2026-92842

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:BIT-libphp-2026-92842

libphp

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
8.2.34

Source reference: /affected/0/ranges

8.3.35

Source reference: /affected/0/ranges

8.4.26

Source reference: /affected/0/ranges

8.5.11

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "8.2.0"
          },
          {
            "fixed": "8.2.34"
          },
          {
            "introduced": "8.3.0"
          },
          {
            "fixed": "8.3.35"
          },
          {
            "introduced": "8.4.0"
          },
          {
            "fixed": "8.4.26"
          },
          {
            "introduced": "8.5.0"
          },
          {
            "fixed": "8.5.11"
          }
        ]
      }
    ],
    "package": {
      "name": "libphp",
      "purl": "pkg:bitnami/libphp",
      "ecosystem": "Bitnami"
    },
    "severity": [
      {
        "type": "CVSS_V3",
        "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
      }
    ],
    "database_specific": {
      "source": "https://github.com/bitnami/vulndb/tree/main/data/libphp/BIT-libphp-2026-92842.json"
    }
  }
]
Related CVEs
CVE-2026-92842

Source reference: /aliases

Publisher severity

medium

Source reference: /database_specific/severity

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

Event
#59653 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement