Bug 1730357 (CVE-2019-13306) - CVE-2019-13306 ImageMagick: stack-based buffer overflow at coders/pnm.c in WritePNMImage because of off-by-one errors
Summary: CVE-2019-13306 ImageMagick: stack-based buffer overflow at coders/pnm.c in Wr...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-13306
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1730359 1732690
Blocks: 1730618
TreeView+ depends on / blocked
 
Reported: 2019-07-16 14:07 UTC by Marian Rehak
Modified: 2023-09-07 20:15 UTC (History)
5 users (show)

Fixed In Version: ImageMagick 6.9.10-50, ImageMagick 7.0.8-50
Doc Type: If docs needed, set a value
Doc Text:
A stack-based buffer overflow was discovered in ImageMagick in the way it writes PNM images due to off-by-one errors. Applications compiled against ImageMagick libraries that accept untrustworthy images or write PNM images may be vulnerable to this flaw. An attacker could abuse this flaw by providing a specially crafted image to make the application crash or potentially execute code.
Clone Of:
Environment:
Last Closed: 2020-03-31 22:34:47 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1180 0 None None None 2020-03-31 19:32:40 UTC

Description Marian Rehak 2019-07-16 14:07:43 UTC
ImageMagick 7.0.8-50 Q16 has a stack-based buffer overflow at coders/pnm.c in WritePNMImage because of off-by-one errors.

Upstream Issue:

https://github.com/ImageMagick/ImageMagick/issues/1612

Comment 1 Marian Rehak 2019-07-16 14:07:56 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1730359]

Comment 4 errata-xmlrpc 2020-03-31 19:32:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1180 https://access.redhat.com/errata/RHSA-2020:1180

Comment 5 Product Security DevOps Team 2020-03-31 22:34:47 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-13306


Note You need to log in before you can comment on or make changes to this bug.