---
id: CVE-2019-19956
title: >-
  xmlParseBalancedChunkMemoryRecover in parser.c in libxml2 before 2.9.10 has a
  memory leak related to newDoc->oldNs.
summary: >-
  xmlParseBalancedChunkMemoryRecover in parser.c in libxml2 before 2.9.10 has a
  memory leak related to newDoc->oldNs.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-401
  - CWE-772
vendor: xmlsoft
product: libxml2
affected:
  - libxml2 < 2.9.10
  - debian_linux = 8.0
  - debian_linux = 9.0
  - real_user_experience_insight = 13.3.1.0
  - fedora = 30
  - fedora = 32
  - ubuntu_linux = 12.04
  - ubuntu_linux = 14.04
  - ubuntu_linux = 16.04
  - ubuntu_linux = 18.04
  - ubuntu_linux = 19.10
  - active_iq_unified_manager
  - clustered_data_ontap
  - clustered_data_ontap_antivirus_connector
  - manageability_software_development_kit
  - ontap_select_deploy_administration_utility
  - steelstore_cloud_integrated_storage
  - sinema_remote_connect_server < 3.0
patched:
  - libxml2 2.9.10
  - sinema_remote_connect_server 3.0
published: '2019-12-24'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T08:17:00.290'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2019-19956'
references:
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00047.html'
    label: cve@mitre.org
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00005.html'
    label: cve@mitre.org
  - url: 'https://cert-portal.siemens.com/productcert/pdf/ssa-292794.pdf'
    label: cve@mitre.org
  - url: >-
      https://gitlab.gnome.org/GNOME/libxml2/commit/5a02583c7e683896d84878bd90641d8d9b0d0549
    label: cve@mitre.org
  - url: 'https://lists.debian.org/debian-lts-announce/2019/12/msg00032.html'
    label: cve@mitre.org
  - url: 'https://lists.debian.org/debian-lts-announce/2020/09/msg00009.html'
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5R55ZR52RMBX24TQTWHCIWKJVRV6YAWI/
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JDPF3AAVKUAKDYFMFKSIQSVVS3EEFPQH/
    label: cve@mitre.org
  - url: 'https://security.netapp.com/advisory/ntap-20200114-0002/'
    label: cve@mitre.org
  - url: 'https://us-cert.cisa.gov/ics/advisories/icsa-21-103-08'
    label: cve@mitre.org
  - url: 'https://usn.ubuntu.com/4274-1/'
    label: cve@mitre.org
  - url: 'https://www.oracle.com/security-alerts/cpujul2020.html'
    label: cve@mitre.org
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00047.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00005.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/pdf/ssa-292794.pdf'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://gitlab.gnome.org/GNOME/libxml2/commit/5a02583c7e683896d84878bd90641d8d9b0d0549
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2019/12/msg00032.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2020/09/msg00009.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5R55ZR52RMBX24TQTWHCIWKJVRV6YAWI/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JDPF3AAVKUAKDYFMFKSIQSVVS3EEFPQH/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20200114-0002/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://us-cert.cisa.gov/ics/advisories/icsa-21-103-08'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://usn.ubuntu.com/4274-1/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.oracle.com/security-alerts/cpujul2020.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-292794.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.0556
epssPercentile: 0.9269
ingestedAt: '2026-10-14T08:23:04.328Z'
---

## Overview

xmlParseBalancedChunkMemoryRecover in parser.c in libxml2 before 2.9.10 has a memory leak related to newDoc->oldNs.

## Affected

- `libxml2 < 2.9.10`
- `debian_linux = 8.0`
- `debian_linux = 9.0`
- `real_user_experience_insight = 13.3.1.0`
- `fedora = 30`
- `fedora = 32`
- `ubuntu_linux = 12.04`
- `ubuntu_linux = 14.04`
- `ubuntu_linux = 16.04`
- `ubuntu_linux = 18.04`
- `ubuntu_linux = 19.10`
- `active_iq_unified_manager`
- `clustered_data_ontap`
- `clustered_data_ontap_antivirus_connector`
- `manageability_software_development_kit`
- `ontap_select_deploy_administration_utility`
- `steelstore_cloud_integrated_storage`
- `sinema_remote_connect_server < 3.0`

## Remediation

Upgrade past the affected range:

- `libxml2 2.9.10`
- `sinema_remote_connect_server 3.0`
