Bug 2074549 (CVE-2022-1325) - CVE-2022-1325 CImg: Denial of service via RAM exhaustion in _load_bmp
Summary: CVE-2022-1325 CImg: Denial of service via RAM exhaustion in _load_bmp
Alias: CVE-2022-1325
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2074550
Blocks: 2074551
TreeView+ depends on / blocked
Reported: 2022-04-12 13:24 UTC by Pedro Sampaio
Modified: 2022-04-22 18:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-04-12 15:26:39 UTC

Attachments (Terms of Use)

Description Pedro Sampaio 2022-04-12 13:24:51 UTC
In CImg 3.10, via a maliciously crafted 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.

Upstream issue:


Comment 1 Pedro Sampaio 2022-04-12 13:25:52 UTC
Created CImg tracking bugs for this issue:

Affects: fedora-all [bug 2074550]

Comment 2 Product Security DevOps Team 2022-04-12 15:26:37 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Note You need to log in before you can comment on or make changes to this bug.