Bug 1546029 (CVE-2018-7186) - CVE-2018-7186 leptonica: Stack-based buffer overflows in gplotRead() and ptaReadStream() when parsing crafted files can lead to denial of service
Summary: CVE-2018-7186 leptonica: Stack-based buffer overflows in gplotRead() and ptaR...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-7186
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: 1542006 1542007 1542008 1542009
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-16 06:12 UTC by Sam Fowler
Modified: 2021-10-21 19:54 UTC (History)
4 users (show)

Fixed In Version: leptonica 1.75.3
Clone Of:
Environment:
Last Closed: 2021-10-21 19:54:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Sam Fowler 2018-02-16 06:12:51 UTC
leptonica through version 1.74.4 is vulnerable to a stack-based buffer overflow in gplot.c:gplotRead() and ptabasic.c:ptaReadStream() when parsing crafted files, leading to a denial of service.

Upstream patch:

https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a

Additional References:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890548

Comment 1 Sam Fowler 2018-02-16 06:14:45 UTC
Created leptonica tracking bugs for this issue:

Affects: epel-all [bug 1542007]
Affects: fedora-all [bug 1542008]


Created mingw-leptonica tracking bugs for this issue:

Affects: fedora-all [bug 1542009]


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