CVE-2021-3575: Buffer Overflow

Published May 6, 2021
·
Updated

A heap-based buffer overflow was found in openjpeg in color.c:379:42 in sycc420torgb when decompressing a crafted .j2k file. An attacker could use this to execute arbitrary code with the permissions of the application compiled against openjpeg.

Other sources

Decompressing a crafted .j2k file may lead to heap-buffer-overflow in color.c:379:42 in sycc420torgb.

Reference:

https://github.com/uclouvain/openjpeg/issues/1347

Red Hat

Affected Software

7 affected componentsFixes available
uclouvain openjpeg<=2.4.0
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
Fedoraproject Fedora=33
Fedoraproject Fedora=34
debian/openjpeg2<=2.4.0-3
2.4.0-3+deb11u12.5.0-2+deb12u22.5.0-2+deb12u12.5.3-2.1~deb13u12.5.3-2.1

Event History

May 6, 2021
Data Sourced
via Red Hat·07:30 AM
DescriptionSeverityAffected Software
Mar 4, 2022
CVE Published
via MITRE·05:20 PM
Data Sourced
via MITRE·05:20 PM
DescriptionWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:57 PM
Description
Nov 3, 2025
Data Sourced
via Ubuntu·07:38 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·07:39 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2021-3575?

CVE-2021-3575 is a heap-based buffer overflow vulnerability found in openjpeg.

2

How does CVE-2021-3575 allow an attacker to execute arbitrary code?

An attacker can exploit CVE-2021-3575 by using a crafted .j2k file to trigger the buffer overflow and execute arbitrary code.

3

Which software versions are affected by CVE-2021-3575?

Uclouvain Openjpeg 2.4.0, Redhat Enterprise Linux 6.0, Redhat Enterprise Linux 7.0, Redhat Enterprise Linux 8.0, Fedoraproject Fedora 33, and Fedoraproject Fedora 34 are affected by CVE-2021-3575.

4

What is the severity of CVE-2021-3575?

The severity of CVE-2021-3575 is high, with a CVSS score of 7.8.

5

How can I mitigate CVE-2021-3575?

To mitigate CVE-2021-3575, it is recommended to update to the latest version of the affected software or apply any patches or fixes provided by the vendor.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203