Incorrect Calculation of Buffer Size Affecting openjdk-21-openj9 package, versions <0.57.0-r0


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.49% (39th 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-CHAINGUARDLATEST-OPENJDK21OPENJ9-15227481
  • published5 Feb 2026
  • disclosed29 Jan 2026

Introduced: 29 Jan 2026

CVE-2026-1188  (opens in a new tab)
CWE-131  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Chainguard openjdk-21-openj9 to version 0.57.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openjdk-21-openj9 package and not the openjdk-21-openj9 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

In the Eclipse OMR port library component since release 0.2.0, an API function to return the textual names of all supported processor features was not accounting for the separator inserted between processor features. If the output buffer supplied to this function was incorrectly sized, failing to account for the separator when determining when a write to the buffer was safe could lead to a buffer overflow. This issue is fixed in Eclipse OMR version 0.8.0.

CVSS Base Scores

version 3.1