Vulnerability · Published Mar 4, 2022 · Assigned by redhat
CVE-2021-3575
High 7.8
In plain English
A high-severity out-of-bounds write in OpenJPEG. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)1.5%top 24.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | openjpeg2 | 2.4.0-4.el8 | ALSA-2021:4251 |
| AlmaLinux:8 | openjpeg2-devel | 2.4.0-4.el8 | ALSA-2021:4251 |
| AlmaLinux:8 | openjpeg2-devel-docs | 2.4.0-4.el8 | ALSA-2021:4251 |
| AlmaLinux:8 | openjpeg2-tools | 2.4.0-4.el8 | ALSA-2021:4251 |
| Alpine:v3.20 | openjpeg | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
| Alpine:v3.21 | openjpeg | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
| Alpine:v3.22 | openjpeg | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
| Alpine:v3.23 | openjpeg | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
| Alpine:v3.24 | openjpeg | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
| Debian:12 | openjpeg2 | 2.5.0-2+deb12u1 | DEBIAN-CVE-2021-3575 |
| Debian:12 | openjpeg2 | 2.5.0-2+deb12u1 | DSA-5851-1 |
| Debian:13 | openjpeg2 | 2.5.3-1 | DEBIAN-CVE-2021-3575 |
| Debian:14 | openjpeg2 | 2.5.3-1 | DEBIAN-CVE-2021-3575 |
| Rocky Linux:8 | openjpeg2 | 0:2.4.0-4.el8 | RLSA-2021:4251 |
| Ubuntu:22.04:LTS | blender | no fix listed | UBUNTU-CVE-2021-3575 |
| Ubuntu:24.04:LTS | blender | no fix listed | UBUNTU-CVE-2021-3575 |
| Ubuntu:25.10 | blender | no fix listed | UBUNTU-CVE-2021-3575 |
| Ubuntu:26.04:LTS | blender | no fix listed | UBUNTU-CVE-2021-3575 |
| Ubuntu:26.10 | blender | no fix listed | UBUNTU-CVE-2021-3575 |
| Ubuntu:22.04:LTS | insighttoolkit4 | no fix listed | UBUNTU-CVE-2021-3575 |
| Ubuntu:22.04:LTS | openjpeg2 | 2.4.0-6ubuntu0.2 | UBUNTU-CVE-2021-3575 |
| Ubuntu:22.04:LTS | openjpeg2 | 2.4.0-6ubuntu0.2 | USN-7083-1 |
| Ubuntu:24.04:LTS | openjpeg2 | 2.5.0-2ubuntu0.2 | USN-7083-1 |
| Ubuntu:24.04:LTS | openjpeg2 | 2.5.0-2ubuntu0.2 | UBUNTU-CVE-2021-3575 |
| Ubuntu:25.10 | qtwebengine-opensource-src | no fix listed | UBUNTU-CVE-2021-3575 |
| Ubuntu:26.10 | qtwebengine-opensource-src | no fix listed | UBUNTU-CVE-2021-3575 |
| Ubuntu:25.10 | texmaker | no fix listed | UBUNTU-CVE-2021-3575 |
| Ubuntu:26.04:LTS | texmaker | no fix listed | UBUNTU-CVE-2021-3575 |
| Ubuntu:26.10 | texmaker | no fix listed | UBUNTU-CVE-2021-3575 |
Affected products (as reported)
Weakness: CWE-787
References
- FEDORA-2021-c1ac2ee5ee vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-e145f477df vendor-advisory, x_refsource_FEDORA
- https://bugzilla.redhat.com/show_bug.cgi?id=1957616 x_refsource_MISC
- https://github.com/uclouvain/openjpeg/issues/1347 x_refsource_MISC
- https://ubuntu.com/security/CVE-2021-3575 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html