# CVE-2017-8872: libxml2: The htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4 allows attackers to cause a denial of service (buf...

CVE-2017-8872 is fixed in 4 products on 1 platform, first by libxml2 2.9.4+dfsg1-6.1ubuntu1, released February 7, 2018. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2017-8872
- Priority: Routine
- CVSS: n/a (Low)
- EPSS: 0.0231
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 9, 2017

## Description

The htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4 allows attackers to cause a denial of service (buffer over-read) or information disclosure.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libxml2 Ubuntu 18.04.6 LTS (bionic) | 2.9.4+dfsg1-6.1ubuntu1 | [libxml2 2.9.4+dfsg1-6.1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libxml2-2.9.4-dfsg1-6.1ubuntu1.md) | Feb 7, 2018 |
| Linux | libxml2-utils Ubuntu 18.04.6 LTS (bionic) | 2.9.4+dfsg1-6.1ubuntu1 | [libxml2-utils 2.9.4+dfsg1-6.1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libxml2-utils-2.9.4-dfsg1-6.1ubuntu1.md) | Feb 7, 2018 |
| Linux | python-libxml2 Ubuntu 18.04.6 LTS (bionic) | 2.9.4+dfsg1-6.1ubuntu1 | [python-libxml2 2.9.4+dfsg1-6.1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-libxml2-2.9.4-dfsg1-6.1ubuntu1.md) | Feb 7, 2018 |
| Linux | python3-libxml2 Ubuntu 18.04.6 LTS (bionic) | 2.9.4+dfsg1-6.1ubuntu1 | [python3-libxml2 2.9.4+dfsg1-6.1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-libxml2-2.9.4-dfsg1-6.1ubuntu1.md) | Feb 7, 2018 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
