DescriptionThere is a heap-based buffer overflow in the Image::printIFDStructure function of image.cpp in Exiv2 0.26. A Crafted input will lead to a remote denial of service attack.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs868578

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
exiv2 (PTS)wheezy0.23-1fixed
wheezy (security)0.23-1+deb7u2fixed
buster, stretch, sid0.25-3.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
exiv2source(unstable)(not affected)


- exiv2 <not-affected> (Vulnerable code introduced after 0.25)
Not reproducible in wheezy/jessie/stretch, I get "The file contains data of an unknown image type".
Reproducible with 0.26-1 (experimental) although I get another error "free(): invalid next size (fast)".

Search for package or bug name: Reporting problems