|Description||The ReadWPGImage function in coders/wpg.c in GraphicsMagick 1.3.26 does not properly validate colormapped images, which allows remote attackers to cause a denial of service (ImportIndexQuantumType invalid write and application crash) or possibly have unspecified other impact via a malformed WPG image.|
|Source||CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)|
Vulnerable and fixed packages
The table below lists information on source packages.
|graphicsmagick (PTS)||stretch (security), stretch||1.3.30+hg15796-1~deb9u4||fixed|
|buster, buster (security)||1.4+really1.3.35-1~deb10u1||fixed|
The information below is based on the following data on fixed versions.
[wheezy] - graphicsmagick <no-dsa> (Not possible to trigger with presented test case)
The wheezy version gives an assert before the vulnerability can be triggered. Due to this
the severity of the wheezy version is low even though the vulnerable code is still present.
The patch is trivial so it may be worth fixing in combination with some other fix.