CVE-2026-92842 Affecting php8.5 package, versions <8.5.9-0ubuntu2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.36% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2610-PHP85-21241520
  • published18 Oct 2026
  • disclosed25 Sept 2026

Introduced: 25 Sep 2026

NewCVE-2026-92842  (opens in a new tab)

How to fix?

Upgrade Ubuntu:26.10 php8.5 to version 8.5.9-0ubuntu2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php8.5 package and not the php8.5 package as distributed by Ubuntu. See How to fix? for Ubuntu:26.10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1