DescriptionThere is an invalid free in the Action::TaskFactory::cleanup function of actions.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
Debian Bugs868578

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
exiv2 (PTS)jessie0.24-4.1fixed
jessie (security)0.24-4.1+deb8u5fixed
stretch (security), stretch0.25-3.1+deb9u1fixed
bullseye, sid, buster0.25-4fixed

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 (even with valgrind), I get "No Exif data found in the file".
Reproducible with 0.26-1 (experimental).
Action::TaskFactory::cleanup function is the same in all versions, so the problem is likely an earlier memory corruption.

Search for package or bug name: Reporting problems