Heap-based Buffer Overflow Affecting openjpeg package, versions [,2.5.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (14th 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-CONAN-OPENJPEG-10077975
  • published8 May 2025
  • disclosed24 Dec 2024
  • creditFrank-Z7

Introduced: 24 Dec 2024

CVE-2024-56827  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade openjpeg to version 2.5.3 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow in the opj_j2k_add_tlmarker() function in j2k.c file.

CVSS Base Scores

version 4.0
version 3.1