Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. cimg
  4. ›
  5. CVE-2022-1325

CVE-2022-1325: Allocation of Resources Without Limits or Throttling

August 31, 2022 (updated September 7, 2022)

A flaw was found in Clmg, where with the help of a maliciously crafted pandore or bmp file with modified dx and dy header field values it is possible to trick the application into allocating huge buffer sizes like 64 Gigabyte upon reading the file from disk or from a virtual buffer.

References

  • access.redhat.com/security/cve/CVE-2022-1325
  • bugzilla.redhat.com/show_bug.cgi?id=2074549
  • github.com/GreycLab/CImg/commit/619cb58dd90b4e03ac68286c70ed98acbefd1c90
  • github.com/GreycLab/CImg/issues/343
  • github.com/GreycLab/CImg/pull/348
  • huntr.dev/bounties/a5e4fc45-8f14-4dd1-811b-740fc50c95d2/
  • nvd.nist.gov/vuln/detail/CVE-2022-1325

Code Behaviors & Features

Detect and mitigate CVE-2022-1325 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 before 3.1.0

Solution

Unfortunately, there is no solution available yet.

Impact 5.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

conan/cimg/CVE-2022-1325.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:16 +0000.