Integer Underflow Affecting php85 package, versions <8.5.6-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.27% (19th 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-ALPINE323-PHP85-16535562
  • published8 May 2026
  • disclosed13 Mar 2026

Introduced: 13 Mar 2026

CVE-2026-29078  (opens in a new tab)
CWE-191  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 php85 to version 8.5.6-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php85 package and not the php85 package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

Lexbor is a web browser engine library. Prior to 2.7.0, the ISO‑2022‑JP encoder in Lexbor fails to reset the temporary size variable between iterations. The statement ctx->buffer_used -= size with a stale size = 3 causes an integer underflow that wraps to SIZE_MAX. Afterwards, memcpy is called with a negative length, leading to an out‑of‑bounds read from the stack and an out‑of‑bounds write to the heap. The source data is partially controllable via the contents of the DOM tree. This vulnerability is fixed in 2.7.0.

CVSS Base Scores

version 3.1