Bug 1776981 (CVE-2019-17371) - CVE-2019-17371 libpng: memory leaks in png_malloc_warn and png_create_info_struct
Summary: CVE-2019-17371 libpng: memory leaks in png_malloc_warn and png_create_info_st...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2019-17371
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1776982 1776983 1776985 1776986 1776987 1776988 1776989
Blocks: 1776984
TreeView+ depends on / blocked
 
Reported: 2019-11-26 16:45 UTC by Guilherme de Almeida Suckevicz
Modified: 2019-12-04 05:38 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-04 05:38:00 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2019-11-26 16:45:26 UTC
libpng 1.6.37 has memory leaks in png_malloc_warn and png_create_info_struct. NOTE: This has been argued as being found in gif2png and not libpng.

Reference:
https://github.com/glennrp/libpng/issues/307
https://github.com/glennrp/libpng/issues/307#issuecomment-544779431

Comment 1 Guilherme de Almeida Suckevicz 2019-11-26 16:45:59 UTC
Created libpng tracking bugs for this issue:

Affects: fedora-all [bug 1776982]


Created libpng10 tracking bugs for this issue:

Affects: epel-6 [bug 1776983]
Affects: fedora-all [bug 1776988]


Created libpng12 tracking bugs for this issue:

Affects: fedora-all [bug 1776986]


Created libpng15 tracking bugs for this issue:

Affects: fedora-all [bug 1776987]


Created mingw-libpng tracking bugs for this issue:

Affects: epel-7 [bug 1776985]
Affects: fedora-all [bug 1776989]

Comment 2 Paul Howarth 2019-11-27 08:42:59 UTC
This is a problem with gif2png, not libpng.

https://github.com/glennrp/libpng/issues/307#issuecomment-544779431

It affects gif2png versions written in C, i.e. before version 3.0 which is a re-write in the Go language.

https://gitlab.com/esr/gif2png/issues/8

There is a patch included in the libpng issue that fixes gif2png.

Comment 3 Paul Howarth 2019-11-27 08:46:18 UTC
I'm going to close the libpng10 bugs. I'd suggest adding tracker bugs on the gif2png package instead.

Comment 4 Huzaifa S. Sidhpurwala 2019-12-04 05:38:00 UTC
Firstly, the bug exists in gif2png, which is not shipped with any Red Hat Products, secondly Red Hat Product Security does not consider memory leak as a security flaw, unless it can cause application crash due to OOM. Therefore closing this bug as NOTABUG.


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