Skip to content

CVE-2019-12211 When FreeImage 3.18.0 reads a tiff file, it will be handed to the Load function of the PluginTIFF.cpp file, but a memcpy occurs in which the destination address and the size of the copied data are not...

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

Description

When FreeImage 3.18.0 reads a tiff file, it will be handed to the Load function of the PluginTIFF.cpp file, but a memcpy occurs in which the destination address and the size of the copied data are not considered, resulting in a heap overflow.

Upgrade path

22 packages: 20 fixed.

PackageAffectedFixed inStatus
alpine/freeimage(Alpine v3.11) < 3.18.0-r2 3.18.0-r2 Fixed
alpine/freeimage(Alpine v3.12) < 3.18.0-r2 3.18.0-r2 Fixed
alpine/freeimage(Alpine v3.13) < 3.18.0-r2 3.18.0-r2 Fixed
alpine/freeimage(Alpine v3.14) < 3.18.0-r2 3.18.0-r2 Fixed
alpine/freeimage(Alpine v3.15) < 3.18.0-r2 3.18.0-r2 Fixed
alpine/freeimage(Alpine v3.16) < 3.18.0-r2 3.18.0-r2 Fixed
alpine/freeimage(Alpine v3.17) < 3.18.0-r2 3.18.0-r2 Fixed
alpine/freeimage(Alpine v3.18) < 3.18.0-r2 3.18.0-r2 Fixed
alpine/freeimage(Alpine v3.19) < 3.18.0-r2 3.18.0-r2 Fixed
alpine/freeimage(Alpine v3.20) < 3.18.0-r2 3.18.0-r2 Fixed
alpine/freeimage(Alpine v3.21) < 3.18.0-r2 3.18.0-r2 Fixed
alpine/freeimage(Alpine v3.22) < 3.18.0-r2 3.18.0-r2 Fixed
alpine/freeimage(Alpine v3.23) < 3.18.0-r2 3.18.0-r2 Fixed
alpine/freeimage(Alpine v3.24) < 3.18.0-r2 3.18.0-r2 Fixed
debian/freeimage(Debian 12) < 3.18.0+ds2-3 3.18.0+ds2-3 Fixed
debian/freeimage(Debian 13) < 3.18.0+ds2-3 3.18.0+ds2-3 Fixed
ubuntu/freeimage(Ubuntu 18.04) < 3.17.0+ds1-5+deb9u1build0.18.04.1; = 3.17.0+ds1-5build2 3.17.0+ds1-5+deb9u1build0.18.04.1 Fixed
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 Pro 14.04) < 3.15.4-3ubuntu0.1+esm2; = 3.15.1-2build1; = 3.15.1-2build2; = 3.15.4-2 +3 more 3.15.4-3ubuntu0.1+esm2 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
Canonical Ubuntu Linux = 18.04 No fix listed Versions listed
freeimage project freeimage = 3.18.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/freeimage(Debian:12) < 3.18.0+ds2-3 3.18.0+ds2-3
debian/freeimage(Debian:13) < 3.18.0+ds2-3 3.18.0+ds2-3
freeimage project freeimage = 3.18.0 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
alpine/freeimage(Alpine:v3.11) < 3.18.0-r2 3.18.0-r2
alpine/freeimage(Alpine:v3.12) < 3.18.0-r2 3.18.0-r2
alpine/freeimage(Alpine:v3.13) < 3.18.0-r2 3.18.0-r2
alpine/freeimage(Alpine:v3.14) < 3.18.0-r2 3.18.0-r2
alpine/freeimage(Alpine:v3.15) < 3.18.0-r2 3.18.0-r2
alpine/freeimage(Alpine:v3.16) < 3.18.0-r2 3.18.0-r2
alpine/freeimage(Alpine:v3.17) < 3.18.0-r2 3.18.0-r2
alpine/freeimage(Alpine:v3.18) < 3.18.0-r2 3.18.0-r2
alpine/freeimage(Alpine:v3.19) < 3.18.0-r2 3.18.0-r2
alpine/freeimage(Alpine:v3.20) < 3.18.0-r2 3.18.0-r2
alpine/freeimage(Alpine:v3.21) < 3.18.0-r2 3.18.0-r2
alpine/freeimage(Alpine:v3.22) < 3.18.0-r2 3.18.0-r2
alpine/freeimage(Alpine:v3.23) < 3.18.0-r2 3.18.0-r2
alpine/freeimage(Alpine:v3.24) < 3.18.0-r2 3.18.0-r2
ubuntu/freeimage(Ubuntu:Pro:14.04) < 3.15.4-3ubuntu0.1+esm2 3.15.4-3ubuntu0.1+esm2
ubuntu/freeimage(Ubuntu:Pro:14.04) = 3.15.1-2build1 No fix listed
ubuntu/freeimage(Ubuntu:Pro:14.04) = 3.15.1-2build2 No fix listed
ubuntu/freeimage(Ubuntu:Pro:14.04) = 3.15.4-2 No fix listed
ubuntu/freeimage(Ubuntu:Pro:14.04) = 3.15.4-3 No fix listed
ubuntu/freeimage(Ubuntu:Pro:14.04) = 3.15.4-3ubuntu0.1 No fix listed
ubuntu/freeimage(Ubuntu:Pro:14.04) = 3.15.4-3ubuntu0.1+esm1 No fix listed
Show 12 more
ProductAffected versionsFixed in
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:18.04) < 3.17.0+ds1-5+deb9u1build0.18.04.1 3.17.0+ds1-5+deb9u1build0.18.04.1
ubuntu/freeimage(Ubuntu:18.04) = 3.17.0+ds1-5build2 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

References