Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. openjpeg
  4. ›
  5. CVE-2021-3575

CVE-2021-3575: Out-of-bounds Write

March 4, 2022 (updated February 12, 2023)

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.

References

  • bugzilla.redhat.com/show_bug.cgi?id=1957616
  • github.com/uclouvain/openjpeg/issues/1347
  • nvd.nist.gov/vuln/detail/CVE-2021-3575
  • ubuntu.com/security/CVE-2021-3575

Code Behaviors & Features

Detect and mitigate CVE-2021-3575 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.4.0

Fixed versions

  • 2.5.0

Solution

Upgrade to version 2.5.0 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

conan/openjpeg/CVE-2021-3575.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:06 +0000.