CVE-2017-17789

NameCVE-2017-17789
DescriptionIn GIMP 2.8.22, there is a heap-based buffer overflow in read_channel_data in plug-ins/common/file-psp.c.
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)
ReferencesDLA-1220-1, DSA-4077-1
NVD severitymedium (attack range: remote)
Debian Bugs884837

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gimp (PTS)jessie2.8.14-1+deb8u1vulnerable
jessie (security)2.8.14-1+deb8u2fixed
stretch (security), stretch2.8.18-1+deb9u1fixed
buster2.8.22-1fixed
sid2.10.2-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gimpsource(unstable)2.8.20-1.1medium884837
gimpsourcejessie2.8.14-1+deb8u2mediumDSA-4077-1
gimpsourcestretch2.8.18-1+deb9u1mediumDSA-4077-1
gimpsourcewheezy2.8.2-2+deb7u3mediumDLA-1220-1

Notes

https://bugzilla.gnome.org/show_bug.cgi?id=790849
https://git.gnome.org/browse/GIMP/commit/?id=28e95fbeb5720e6005a088fa811f5bf3c1af48b8 (master)
https://git.gnome.org/browse/GIMP/commit/?id=01898f10f87a094665a7fdcf7153990f4e511d3f (gimp-2-8)
Cannot be reproduced in wheezy with "valgrind --trace-children=yes gimp <reproducerfile>"
Some OOB read/write can be reproduced in sid with "valgrind --trace-children=yes gimp <reproducerfile>"

Search for package or bug name: Reporting problems