cve.bz

CVE-2021-3575 Out-of-bounds Write

7.8 highExploit referenceEPSS 1.5%

High (7.8). EPSS 1.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3575 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3575?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3575?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3575 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
uclouvain:openjpegthrough 2.4.0
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0
fedoraproject:fedora33
fedoraproject:fedora34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11openjpeg22.4.0-3+deb11u1DLA-4107-1
Debian12openjpeg22.5.0-2+deb12u1DEBIAN-CVE-2021-3575 DSA-5851-1
Debian13, 14openjpeg22.5.3-1DEBIAN-CVE-2021-3575
Ubuntu16.04:LTSblender, texmaker, insighttoolkit4no fix listedUBUNTU-CVE-2021-3575
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTSblender, insighttoolkit4no fix listedUBUNTU-CVE-2021-3575
Ubuntu20.04:LTSopenjpeg22.3.1-1ubuntu4.20.04.3UBUNTU-CVE-2021-3575 USN-7083-1
Ubuntu22.04:LTSopenjpeg22.4.0-6ubuntu0.2UBUNTU-CVE-2021-3575 USN-7083-1
Ubuntu24.04:LTSblenderno fix listedUBUNTU-CVE-2021-3575
Ubuntu24.04:LTSopenjpeg22.5.0-2ubuntu0.2UBUNTU-CVE-2021-3575 USN-7083-1
Ubuntu25.10, 26.10blender, texmaker, qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2021-3575
Ubuntu26.04:LTSblender, texmakerno fix listedUBUNTU-CVE-2021-3575
UbuntuPro:16.04:LTSopenjpeg22.1.2-1.1+deb9u6ubuntu0.1~esm6UBUNTU-CVE-2021-3575 USN-7083-1
UbuntuPro:18.04:LTSopenjpeg22.3.0-2+deb10u2ubuntu0.1~esm3UBUNTU-CVE-2021-3575 USN-7083-1
UbuntuPro:18.04:LTS, Pro:20.04:LTS, Pro:22.04:LTS and 1 moretexmaker, qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2021-3575
UbuntuPro:26.04:LTSqtwebengine-opensource-srcno fix listedUBUNTU-CVE-2021-3575
Red Hatenterprise_linux:8::appstreamopenjpeg2, openjpeg2-tools, openjpeg2-debuginfo and 3 more0:2.4.0-4.el8RHSA-2021:4251
Red Hatenterprise_linux:8::crbopenjpeg2-devel, openjpeg2-tools, openjpeg2-debuginfo and 2 more0:2.4.0-4.el8RHSA-2021:4251
AlmaLinux8openjpeg2, openjpeg2-devel, openjpeg2-tools and 1 more2.4.0-4.el8ALSA-2021:4251
Rocky Linux8openjpeg20:2.4.0-4.el8RLSA-2021:4251
Alpinev3.16, v3.17, v3.18 and 6 moreopenjpeg2.5.0-r0ALPINE-CVE-2021-3575
Azure Linux3openjpeg2no fix listedAZL-44643

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8openjpeg2-0:2.4.0-4.el8Fixed 2021-11-09RHSA-2021:4251
Red Hat Enterprise Linux 6openjpegOut of support scope
Red Hat Enterprise Linux 7openjpegOut of support scope
Red Hat Enterprise Linux 7openjpeg2Out of support scope
Red Hat Enterprise Linux 9openjpeg2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3575.

References

Check your stackJSON