Skip to content

CVE-2019-12212 When FreeImage 3.18.0 reads a special JXR file, the StreamCalcIFDSize function of JXRMeta.c repeatedly calls itself due to improper processing of the file, eventually causing stack exhaustion. An atta...

HighCVSS 7.5 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

When FreeImage 3.18.0 reads a special JXR file, the StreamCalcIFDSize function of JXRMeta.c repeatedly calls itself due to improper processing of the file, eventually causing stack exhaustion. An attacker can achieve a remote denial of service attack by sending a specially constructed file.

Upgrade path

8 packages: 5 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
debian/freeimage(Debian 12) = 3.18.0+ds2-9; = 3.18.0+ds2-9+deb12u1; = 3.18.0+ds2-9.1; = 3.18.0+ds2-10 +2 more No fix listed No fix yet
debian/freeimage(Debian 13) = 3.18.0+ds2-11; All versions No fix listed No fix yet
ubuntu/freeimage(Ubuntu 20.04) < 3.18.0+ds2-1ubuntu3.1; = 3.18.0+ds2-1ubuntu1; = 3.18.0+ds2-1ubuntu2; = 3.18.0+ds2-1ubuntu3 3.18.0+ds2-1ubuntu3.1 Fixed
ubuntu/freeimage(Ubuntu 22.04) < 3.18.0+ds2-6ubuntu5.1; = 3.18.0+ds2-6ubuntu3; = 3.18.0+ds2-6ubuntu4; = 3.18.0+ds2-6ubuntu5 3.18.0+ds2-6ubuntu5.1 Fixed
ubuntu/freeimage(Ubuntu 24.04) < 3.18.0+ds2-10build4; = 3.18.0+ds2-9.1; = 3.18.0+ds2-10; = 3.18.0+ds2-10build2 +1 more 3.18.0+ds2-10build4 Fixed
ubuntu/freeimage(Ubuntu Pro 16.04) < 3.17.0+ds1-2ubuntu0.1+esm1; = 3.15.4-4.1build1; = 3.15.4-6; = 3.17.0+ds1-1.1 +2 more 3.17.0+ds1-2ubuntu0.1+esm1 Fixed
ubuntu/freeimage(Ubuntu Pro 18.04) < 3.17.0+ds1-5+deb9u1ubuntu0.1~esm1; = 3.17.0+ds1-5+deb9u1build0.18.04.1; = 3.17.0+ds1-5build2 3.17.0+ds1-5+deb9u1ubuntu0.1~esm1 Fixed
freeimage project freeimage = 3.18.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/freeimage(Debian:12) All versions No fix listed
debian/freeimage(Debian:12) = 3.18.0+ds2-10 No fix listed
debian/freeimage(Debian:12) = 3.18.0+ds2-11 No fix listed
debian/freeimage(Debian:12) = 3.18.0+ds2-9 No fix listed
debian/freeimage(Debian:12) = 3.18.0+ds2-9+deb12u1 No fix listed
debian/freeimage(Debian:12) = 3.18.0+ds2-9.1 No fix listed
debian/freeimage(Debian:13) All versions No fix listed
debian/freeimage(Debian:13) = 3.18.0+ds2-11 No fix listed
freeimage project freeimage = 3.18.0 No fix listed
ubuntu/freeimage(Ubuntu:24.04) < 3.18.0+ds2-10build4 3.18.0+ds2-10build4
ubuntu/freeimage(Ubuntu:22.04) < 3.18.0+ds2-6ubuntu5.1 3.18.0+ds2-6ubuntu5.1
ubuntu/freeimage(Ubuntu:Pro:16.04) < 3.17.0+ds1-2ubuntu0.1+esm1 3.17.0+ds1-2ubuntu0.1+esm1
ubuntu/freeimage(Ubuntu:Pro:16.04) = 3.15.4-4.1build1 No fix listed
ubuntu/freeimage(Ubuntu:Pro:16.04) = 3.15.4-6 No fix listed
ubuntu/freeimage(Ubuntu:Pro:16.04) = 3.17.0+ds1-1.1 No fix listed
ubuntu/freeimage(Ubuntu:Pro:16.04) = 3.17.0+ds1-2 No fix listed
ubuntu/freeimage(Ubuntu:Pro:16.04) = 3.17.0+ds1-2ubuntu0.1 No fix listed
ubuntu/freeimage(Ubuntu:Pro:18.04) < 3.17.0+ds1-5+deb9u1ubuntu0.1~esm1 3.17.0+ds1-5+deb9u1ubuntu0.1~esm1
ubuntu/freeimage(Ubuntu:Pro:18.04) = 3.17.0+ds1-5build2 No fix listed
ubuntu/freeimage(Ubuntu:Pro:18.04) = 3.17.0+ds1-5+deb9u1build0.18.04.1 No fix listed
ubuntu/freeimage(Ubuntu:20.04) < 3.18.0+ds2-1ubuntu3.1 3.18.0+ds2-1ubuntu3.1
ubuntu/freeimage(Ubuntu:20.04) = 3.18.0+ds2-1ubuntu1 No fix listed
ubuntu/freeimage(Ubuntu:20.04) = 3.18.0+ds2-1ubuntu2 No fix listed
ubuntu/freeimage(Ubuntu:20.04) = 3.18.0+ds2-1ubuntu3 No fix listed
ubuntu/freeimage(Ubuntu:22.04) = 3.18.0+ds2-6ubuntu3 No fix listed
Show 6 more
ProductAffected versionsFixed in
ubuntu/freeimage(Ubuntu:22.04) = 3.18.0+ds2-6ubuntu4 No fix listed
ubuntu/freeimage(Ubuntu:22.04) = 3.18.0+ds2-6ubuntu5 No fix listed
ubuntu/freeimage(Ubuntu:24.04) = 3.18.0+ds2-9.1 No fix listed
ubuntu/freeimage(Ubuntu:24.04) = 3.18.0+ds2-10 No fix listed
ubuntu/freeimage(Ubuntu:24.04) = 3.18.0+ds2-10build2 No fix listed
ubuntu/freeimage(Ubuntu:24.04) = 3.18.0+ds2-10build3 No fix listed

References