CVE-2021-3575

openjpeg: heap-buffer-overflow in color.c may lead to DoS or arbitrary code execution

Published Mar 4, 2022 CVSS 3.1 · 7.8 High EPSS 1.5% KEV · Not listed
Description
A heap-based buffer overflow was found in openjpeg in color.c:379:42 in sycc420_to_rgb when decompressing a crafted .j2k file. An attacker could use this to execute arbitrary code with the permissions of the application compiled against openjpeg.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4107-1 openjpeg2 security update
EUVD EUVD EUVD-2021-26884 A heap-based buffer overflow was found in openjpeg in color.c:379:42 in sycc420_to_rgb when decompressing a crafted .j2k file. An attacker could use this to execute arbitrary code with the permissions of the application compiled against openjpeg.
Ubuntu USN Ubuntu USN USN-7083-1 OpenJPEG vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 3, 2025, 7:25 PM
Reserved
Jun 2, 2021, 12:00 AM
Status
Modified
Published
Mar 4, 2022, 6:15 PM
Modified
Jun 17, 2026, 4:05 AM
Severity
Moderate
Public date
May 1, 2021, 12:00 AM