Skip to content

CVE-2022-1325 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 buff...

MediumCVSS 5.5 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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.

Upgrade path

9 packages: 6 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/cimg(Ubuntu 16.04) = 1.6.4+dfsg-1build1; = 1.6.5+dfsg-1; All versions No fix listed No fix yet
ubuntu/cimg(Ubuntu 20.04) = 2.4.5+dfsg-1; All versions No fix listed No fix yet
ubuntu/cimg(Ubuntu Pro 18.04) = 1.7.9+dfsg-2; = 1.7.9+dfsg-2build1; = 1.7.9+dfsg-2ubuntu0.18.04.1; = 1.7.9+dfsg-2ubuntu0.18.04.2 +2 more No fix listed No fix yet
cimg < 3.1.0 3.1.0 Fixed
debian/cimg(Debian 12) < 3.1.6+dfsg-1 3.1.6+dfsg-1 Fixed
debian/cimg(Debian 13) < 3.1.6+dfsg-1 3.1.6+dfsg-1 Fixed
debian/cimg(Debian 14) < 3.1.6+dfsg-1 3.1.6+dfsg-1 Fixed
ubuntu/cimg(Ubuntu 22.04) < 2.9.4+dfsg-3ubuntu0.1~esm1 2.9.4+dfsg-3ubuntu0.1~esm1 Fixed
ubuntu/cimg(Ubuntu Pro 22.04) < 2.9.4+dfsg-3ubuntu0.1~esm1; = 2.9.4+dfsg-2; = 2.9.4+dfsg-3 2.9.4+dfsg-3ubuntu0.1~esm1 Fixed

Affected products

ProductAffected versionsFixed in
ubuntu/cimg(Ubuntu:22.04) < 2.9.4+dfsg-3ubuntu0.1~esm1 2.9.4+dfsg-3ubuntu0.1~esm1
cimg < 3.1.0 3.1.0
debian/cimg(Debian:12) < 3.1.6+dfsg-1 3.1.6+dfsg-1
debian/cimg(Debian:14) < 3.1.6+dfsg-1 3.1.6+dfsg-1
debian/cimg(Debian:13) < 3.1.6+dfsg-1 3.1.6+dfsg-1
ubuntu/cimg(Ubuntu:16.04) All versions No fix listed
ubuntu/cimg(Ubuntu:16.04) = 1.6.4+dfsg-1build1 No fix listed
ubuntu/cimg(Ubuntu:16.04) = 1.6.5+dfsg-1 No fix listed
ubuntu/cimg(Ubuntu:Pro:18.04) All versions No fix listed
ubuntu/cimg(Ubuntu:Pro:18.04) = 1.7.9+dfsg-2 No fix listed
ubuntu/cimg(Ubuntu:Pro:18.04) = 1.7.9+dfsg-2build1 No fix listed
ubuntu/cimg(Ubuntu:Pro:18.04) = 1.7.9+dfsg-2ubuntu0.18.04.1 No fix listed
ubuntu/cimg(Ubuntu:Pro:18.04) = 1.7.9+dfsg-2ubuntu0.18.04.2 No fix listed
ubuntu/cimg(Ubuntu:Pro:18.04) = 1.7.9+dfsg-2ubuntu0.18.04.2+esm1 No fix listed
ubuntu/cimg(Ubuntu:20.04) All versions No fix listed
ubuntu/cimg(Ubuntu:20.04) = 2.4.5+dfsg-1 No fix listed
ubuntu/cimg(Ubuntu:Pro:22.04) < 2.9.4+dfsg-3ubuntu0.1~esm1 2.9.4+dfsg-3ubuntu0.1~esm1
ubuntu/cimg(Ubuntu:Pro:22.04) = 2.9.4+dfsg-2 No fix listed
ubuntu/cimg(Ubuntu:Pro:22.04) = 2.9.4+dfsg-3 No fix listed

References