Out-of-bounds Write Affecting imagemagick package, versions <8:6.9.10.23+dfsg-2.1ubuntu9
Threat Intelligence
EPSS
0.12% (47th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UBUNTU2004-IMAGEMAGICK-5493391
- published 24 Jul 2019
- disclosed 5 Jul 2019
How to fix?
Upgrade Ubuntu:20.04 imagemagick to version 8:6.9.10.23+dfsg-2.1ubuntu9 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream imagemagick package and not the imagemagick package as distributed by Ubuntu.
See How to fix? for Ubuntu:20.04 relevant fixed versions and status.
ImageMagick 7.0.8-50 Q16 has a stack-based buffer overflow at coders/pnm.c in WritePNMImage because of a misplaced strncpy and an off-by-one error.
References
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2019-13305
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-13305
- https://www.debian.org/security/2020/dsa-4712
- https://www.debian.org/security/2020/dsa-4715
- https://lists.debian.org/debian-lts-announce/2019/08/msg00021.html
- https://security-tracker.debian.org/tracker/CVE-2019-13305
- https://github.com/ImageMagick/ImageMagick6/commit/5c7fbf9a14fb83c9685ad69d48899f490a37609d
- https://github.com/ImageMagick/ImageMagick/commit/29efd648f38b73a64d73f14cd2019d869a585888
- https://github.com/ImageMagick/ImageMagick/issues/1613
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00069.html
- https://usn.ubuntu.com/4192-1/
CVSS Scores
version 3.1