Buffer Overflow Affecting osamu620/OpenHTJ2K package, versions [,0.18.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.48% (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-UNMANAGED-OSAMU620OPENHTJ2K-17994613
  • published16 Jul 2026
  • disclosed15 Jul 2026
  • creditUnknown

Introduced: 15 Jul 2026

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

How to fix?

Upgrade osamu620/OpenHTJ2K to version 0.18.5 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow via the openhtj2k_decoder_impl::invoke, invoke_line_based, invoke_line_based_stream, and invoke_line_based_predecoded functions in source/core/interface/decoder.cpp. An attacker can achieve arbitrary code execution by supplying specially crafted input that triggers a buffer overflow during decoding.

CVSS Base Scores

version 4.0
version 3.1