# CVE-2021-3575: A heap-based buffer overflow was found in openjpeg in color.c:379:42 in sycc420torgb when decompressing a crafted .j2k file.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.55%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-04T17:20:40.000Z
- Modified: 2026-06-17T04:05:22.237Z
- Weaknesses: CWE-787
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- OpenJPEG: Afeects v2.4.0 and prior.
- uclouvain openjpeg: up to 2.4.0
- redhat enterprise_linux: 6.0; 7.0; 8.0
- fedoraproject fedora: 33; 34

## Every score

- NVD: 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`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/uclouvain/openjpeg/issues/1347> (exploit, issue-tracking, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZ54FGM2IGAP4AWSJ22JKHOPHCR3FGYU/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QB6AI7CWXWMEDZIQY4LQ6DMIEXMDOHUP/> (vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1957616> (issue-tracking, third-party-advisory)
- <https://ubuntu.com/security/CVE-2021-3575> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html>

## Sources

- CVE List: [CVE-2021-3575](https://www.cve.org/CVERecord?id=CVE-2021-3575), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2021-3575](https://nvd.nist.gov/vuln/detail/CVE-2021-3575), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3575 · Whole record: https://cve.day/CVE-2021-3575.json · Rebuilt by cve.day 2026-11-25T22:58:07.123Z
