Skip to content

CVE-2024-26540 A heap-based buffer overflow in Clmg before 3.3.3 can occur via a crafted file to cimg_library::CImg<unsigned char>::_load_analyze.

HighCVSS 7.8 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

A heap-based buffer overflow in Clmg before 3.3.3 can occur via a crafted file to cimg_library::CImg<unsigned char>::_load_analyze.

Upgrade path

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

PackageAffectedFixed inStatus
debian/cimg(Debian 12) = 3.2.1+dfsg-1; = 3.2.1+dfsg-2; = 3.5.0+dfsg-1; = 3.5.2+dfsg-1 +3 more No fix listed No fix yet
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
cimg < 3.3.3 3.3.3 Fixed
clmg project clmg < 3.3.3 3.3.3 Fixed
debian/cimg(Debian 13) < 3.5.0+dfsg-1 3.5.0+dfsg-1 Fixed
debian/cimg(Debian 14) < 3.5.0+dfsg-1 3.5.0+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 24.04) < 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 Fixed
ubuntu/cimg(Ubuntu Pro 18.04) < 1.7.9+dfsg-2ubuntu0.18.04.2+esm1; = 1.7.9+dfsg-2; = 1.7.9+dfsg-2build1; = 1.7.9+dfsg-2ubuntu0.18.04.1 +1 more 1.7.9+dfsg-2ubuntu0.18.04.2+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
ubuntu/cimg(Ubuntu Pro 24.04) < 3.2.1+dfsg-1ubuntu0.24.04.1~esm1; = 3.2.1+dfsg-1 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 Fixed

Affected products

ProductAffected versionsFixed in
debian/cimg(Debian:12) All versions No fix listed
debian/cimg(Debian:12) = 3.2.1+dfsg-1 No fix listed
debian/cimg(Debian:12) = 3.2.1+dfsg-2 No fix listed
debian/cimg(Debian:12) = 3.5.0+dfsg-1 No fix listed
debian/cimg(Debian:12) = 3.5.2+dfsg-1 No fix listed
debian/cimg(Debian:12) = 3.5.2+dfsg-2 No fix listed
debian/cimg(Debian:12) = 4.0.4+dfsg-1 No fix listed
debian/cimg(Debian:13) < 3.5.0+dfsg-1 3.5.0+dfsg-1
debian/cimg(Debian:14) < 3.5.0+dfsg-1 3.5.0+dfsg-1
ubuntu/cimg(Ubuntu:22.04) < 2.9.4+dfsg-3ubuntu0.1~esm1 2.9.4+dfsg-3ubuntu0.1~esm1
clmg project clmg < 3.3.3 3.3.3
ubuntu/cimg(Ubuntu:24.04) < 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 3.2.1+dfsg-1ubuntu0.24.04.1~esm1
cimg < 3.3.3 3.3.3
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) < 1.7.9+dfsg-2ubuntu0.18.04.2+esm1 1.7.9+dfsg-2ubuntu0.18.04.2+esm1
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: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
Show 3 more
ProductAffected versionsFixed in
ubuntu/cimg(Ubuntu:Pro:22.04) = 2.9.4+dfsg-3 No fix listed
ubuntu/cimg(Ubuntu:Pro:24.04) < 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 3.2.1+dfsg-1ubuntu0.24.04.1~esm1
ubuntu/cimg(Ubuntu:Pro:24.04) = 3.2.1+dfsg-1 No fix listed

References