libxml2 2.9.4 HTMLparser.c htmlParseTryOrFinish out-of-bounds
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.0 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in libxml2 2.9.4. This affects the function htmlParseTryOrFinish of the file HTMLparser.c. Such manipulation leads to out-of-bounds.
This vulnerability is listed as CVE-2017-8872. The attack may be performed from remote. There is no available exploit.
The affected component should be upgraded.
Details
A vulnerability was found in libxml2 2.9.4 (Document Processing Software) and classified as critical. Affected by this issue is the function htmlParseTryOrFinish of the file HTMLparser.c. The manipulation with an unknown input leads to a out-of-bounds vulnerability. Using CWE to declare the problem leads to CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. Impacted is confidentiality, integrity, and availability. CVE summarizes:
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.
The bug was discovered 11/28/2016. The weakness was presented 05/10/2017 (Website). The advisory is shared for download at bugzilla.gnome.org. This vulnerability is handled as CVE-2017-8872 since 05/09/2017. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 163 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 102561 (openSUSE Security Update : libxml2 (openSUSE-2017-942)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 277114 (Fedora Security Update for libxml2 (FEDORA-2018-db610fff5b)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 4 months after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (102561). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.2VulDB Meta Temp Score: 8.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.1
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Out-of-boundsCWE: CWE-125 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 102561
Nessus Name: openSUSE Security Update : libxml2 (openSUSE-2017-942)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 863280
OpenVAS Name: Fedora Update for libxml2 FEDORA-2018-db610fff5b
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
11/28/2016 🔍05/09/2017 🔍
05/10/2017 🔍
05/10/2017 🔍
05/10/2017 🔍
08/16/2017 🔍
08/18/2017 🔍
12/18/2025 🔍
Sources
Advisory: DLA 2369-1Status: Confirmed
CVE: CVE-2017-8872 (🔍)
GCVE (CVE): GCVE-0-2017-8872
GCVE (VulDB): GCVE-100-101048
OSVDB: - CVE-2017-8872 - libxml2 - Buffer Over-Read Issue
Entry
Created: 05/10/2017 17:38Updated: 12/18/2025 00:05
Changes: 05/10/2017 17:38 (73), 09/25/2020 09:54 (4), 12/06/2022 09:33 (4), 12/18/2025 00:05 (18)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.