CVE-2021-3575
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | blender | Fix pending | UBUNTU-CVE-2021-3575 | |
| Ubuntu 26.10 | qtwebengine-opensource-src | Fix pending | UBUNTU-CVE-2021-3575 | |
| Ubuntu 26.10 | texmaker | Fix pending | UBUNTU-CVE-2021-3575 | |
| Ubuntu 26.04 | blender | Under investigation | UBUNTU-CVE-2021-3575 | |
| Ubuntu 26.04 | ghostscript | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | qtwebengine-opensource-src | Fix pending | UBUNTU-CVE-2021-3575 | |
| Ubuntu 26.04 | texmaker | Under investigation | UBUNTU-CVE-2021-3575 | |
| Ubuntu 25.10 | blender | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | UBUNTU-CVE-2021-3575 | |
| Ubuntu 25.10 | ghostscript | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | qtwebengine-opensource-src | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | UBUNTU-CVE-2021-3575 | |
| Ubuntu 25.10 | texmaker | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | UBUNTU-CVE-2021-3575 | |
| Ubuntu 24.04 | blender | Under investigation | UBUNTU-CVE-2021-3575 | |
| Ubuntu 24.04 | ghostscript | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | openjpeg2 | Fixed | 2.5.0-2ubuntu0.2 | UBUNTU-CVE-2021-3575 |
| Ubuntu 24.04 | qtwebengine-opensource-src | Fix pending | UBUNTU-CVE-2021-3575 | |
| Ubuntu 24.04 | texmaker | Fix pending | UBUNTU-CVE-2021-3575 | |
| Ubuntu 22.04 | blender | Under investigation | UBUNTU-CVE-2021-3575 | |
| Ubuntu 22.04 | ghostscript | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | insighttoolkit4 | Under investigation | UBUNTU-CVE-2021-3575 | |
| Ubuntu 22.04 | openjpeg2 | Fixed | 2.4.0-6ubuntu0.2 | UBUNTU-CVE-2021-3575 |
| Ubuntu 22.04 | qtwebengine-opensource-src | Fix pending | UBUNTU-CVE-2021-3575 | |
| Ubuntu 22.04 | texmaker | Fix pending | UBUNTU-CVE-2021-3575 | |
| Ubuntu 20.04 | blender | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | UBUNTU-CVE-2021-3575 | |
| Ubuntu 20.04 | insighttoolkit4 | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | UBUNTU-CVE-2021-3575 | |
| Ubuntu 20.04 | openjpeg2 | Fixed | 2.3.1-1ubuntu4.20.04.3 | UBUNTU-CVE-2021-3575 |
| Ubuntu 20.04 | qtwebengine-opensource-src | Fix pending | UBUNTU-CVE-2021-3575 | |
| Ubuntu 20.04 | texmaker | Fix pending | UBUNTU-CVE-2021-3575 | |
| Ubuntu 18.04 | blender | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | UBUNTU-CVE-2021-3575 | |
| Ubuntu 18.04 | insighttoolkit4 | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | UBUNTU-CVE-2021-3575 | |
| Ubuntu 18.04 | openjpeg2 | Fix pending | 2.3.0-2+deb10u2ubuntu0.1~esm3 (Ubuntu Pro) | UBUNTU-CVE-2021-3575 |
| Ubuntu 18.04 | qtwebengine-opensource-src | Fix pending | UBUNTU-CVE-2021-3575 | |
| Ubuntu 18.04 | texmaker | Fix pending | UBUNTU-CVE-2021-3575 | |
| Ubuntu 16.04 | blender | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | UBUNTU-CVE-2021-3575 | |
| Ubuntu 16.04 | ghostscript | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | ||
| Ubuntu 16.04 | insighttoolkit4 | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | UBUNTU-CVE-2021-3575 | |
| Ubuntu 16.04 | openjpeg | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | ||
| Ubuntu 16.04 | openjpeg2 | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | 2.1.2-1.1+deb9u6ubuntu0.1~esm6 (Ubuntu Pro) | UBUNTU-CVE-2021-3575 |
| Ubuntu 16.04 | texmaker | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | UBUNTU-CVE-2021-3575 | |
| Ubuntu 14.04 | blender | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | ||
| Ubuntu 14.04 | ghostscript | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | ||
| Ubuntu 14.04 | insighttoolkit4 | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | ||
| Ubuntu 14.04 | openjpeg | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | ||
| Ubuntu 14.04 | texmaker | Will not fix as of 2023-05-15, the proposed pull as not been commited issue 1363 related but contested as duplicate PR 1362 has not yet been merged as of 2023-05-15. The… | ||
| Debian 14 | openjpeg2 | Fixed | 2.5.3-1 | DEBIAN-CVE-2021-3575 |
| Debian 13 | openjpeg2 | Fixed | 2.5.3-1 | DEBIAN-CVE-2021-3575 |
| Debian 12 | openjpeg2 | Fixed | 2.5.0-2+deb12u1 | DEBIAN-CVE-2021-3575 |
| Red Hat Enterprise Linux 9 | openjpeg2 | Not affected | ||
| Red Hat Enterprise Linux 9 | openjpeg2-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | openjpeg2-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | openjpeg2 | Fixed | 0:2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux 8 | openjpeg2-devel | Fixed | 0:2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux 8 | openjpeg2-devel-docs | Fixed | 0:2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux 8 | openjpeg2-tools | Fixed | 0:2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux 7 | openjpeg | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openjpeg-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openjpeg-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openjpeg2 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openjpeg2-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openjpeg2-devel-docs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openjpeg2-tools | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openjpeg | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openjpeg-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openjpeg-libs | Will not fix Out of support scope | ||
| AlmaLinux 8 | openjpeg2 | Fixed | 2.4.0-4.el8 | ALSA-2021:4251 |
| AlmaLinux 8 | openjpeg2-devel | Fixed | 2.4.0-4.el8 | ALSA-2021:4251 |
| AlmaLinux 8 | openjpeg2-devel-docs | Fixed | 2.4.0-4.el8 | ALSA-2021:4251 |
| AlmaLinux 8 | openjpeg2-tools | Fixed | 2.4.0-4.el8 | ALSA-2021:4251 |
| Rocky Linux 8 | openjpeg2 | Fixed | 0:2.4.0-4.el8 | RLSA-2021:4251 |
| Alpine Linux 3.24 | openjpeg | Fixed | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
| Alpine Linux 3.23 | openjpeg | Fixed | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
| Alpine Linux 3.22 | openjpeg | Fixed | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
| Alpine Linux 3.21 | openjpeg | Fixed | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
| Alpine Linux 3.20 | openjpeg | Fixed | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
| Alpine Linux 3.19 | openjpeg | Fixed | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
| Alpine Linux 3.18 | openjpeg | Fixed | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
| Alpine Linux 3.17 | openjpeg | Fixed | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
| Alpine Linux 3.16 | openjpeg | Fixed | 2.5.0-r0 | ALPINE-CVE-2021-3575 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenJPEG: affected: Afeects v2.4.0 and prior.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZ54FGM2IGAP4AWSJ22JKHOPHCR3FGYU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QB6AI7CWXWMEDZIQY4LQ6DMIEXMDOHUP/
- https://bugzilla.redhat.com/show_bug.cgi?id=1957616
- https://github.com/uclouvain/openjpeg/issues/1347
- https://ubuntu.com/security/CVE-2021-3575
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.