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

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

November 2, 2022 (updated February 28, 2023)

stb_image.h 2.27 has a heap-based buffer over in stbi__jpeg_load, leading to Information Disclosure or Denial of Service.

References

  • github.com/nothings/stb/issues/1178
  • nvd.nist.gov/vuln/detail/CVE-2021-37789

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

Version 2.27

Fixed versions

  • cci.20200203

Solution

Upgrade to version cci.20200203 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

conan/stb/CVE-2021-37789.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:50 +0000.