Allocation of Resources Without Limits or Throttling Affecting cimg package, versions <3.1.6+dfsg-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.42% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-CIMG-18291406
  • published24 Jul 2026
  • disclosed31 Aug 2022

Introduced: 31 Aug 2022

CVE-2022-1325  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Echo:latest cimg to version 3.1.6+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cimg package and not the cimg package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1