Bug 1788856 (CVE-2019-19956) - CVE-2019-19956 libxml2: There's a memory leak in xmlParseBalancedChunkMemoryRecover in parser.c that could result in a crash
Summary: CVE-2019-19956 libxml2: There's a memory leak in xmlParseBalancedChunkMemoryR...
Keywords:
Status: NEW
Alias: CVE-2019-19956
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: 1788857 1788858 1793000 1793001 1788859
Blocks: 1788860
TreeView+ depends on / blocked
 
Reported: 2020-01-08 09:08 UTC by Marian Rehak
Modified: 2020-02-14 06:16 UTC (History)
21 users (show)

Fixed In Version: libxml2 2.9.10
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Marian Rehak 2020-01-08 09:08:35 UTC
xmlParseBalancedChunkMemoryRecover in parser.c in libxml2 before 2.9.10 has a memory leak related to newDoc->oldNs.

Upstream Fix:

https://gitlab.gnome.org/GNOME/libxml2/commit/5a02583c7e683896d84878bd90641d8d9b0d0549

Comment 1 Marian Rehak 2020-01-08 09:09:23 UTC
Created libxml2 tracking bugs for this issue:

Affects: fedora-30 [bug 1788857]


Created mingw-libxml2 tracking bugs for this issue:

Affects: epel-7 [bug 1788859]
Affects: fedora-all [bug 1788858]

Comment 2 Jan Pokorný [poki] 2020-01-08 13:08:13 UTC
Already fixed where libxml2-2.9.10 is present [*]:

Rawhide/F32:
https://bodhi.fedoraproject.org/updates/FEDORA-2019-44d48a72e5

F31:
https://bodhi.fedoraproject.org/updates/FEDORA-2019-92097b71ff

Do we want/need to address this in F30 as well?


see:
https://gitlab.gnome.org/GNOME/libxml2/commits/41a34e1f4ffae2ce401600dbb5fe43f8fe402641

Comment 3 Huzaifa S. Sidhpurwala 2020-01-20 13:25:28 UTC
Upstream bug: https://gitlab.gnome.org/GNOME/libxml2/issues/82


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