CVSS 3.0
9.8 criticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 8.6% estimated probability of exploitation activity in the next 30 days. Fixed in nokogiri 1.7.1.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hnokogiri (RubyGems): fixed in 1.7.1Explain CVE-2016-4658 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-4658?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-4658?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-4658 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| apple:iphone_os | before 10.0 |
| apple:mac_os_x | before 10.12 |
| apple:tvos | before 10.0 |
| apple:watchos | before 3.0 |
| xmlsoft:libxml2 | before 2.9.5 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-fr52-4hqw-p27f | RubyGems | nokogiri | <1.7.1 | 1.7.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 7 | libxml2 | 2.8.0+dfsg1-7+wheezy7 | DLA-691-1 |
| Debian | 8 | libxml2 | 2.9.1+dfsg1-5+deb8u4 | DSA-3744-1 |
| Debian | 12, 13, 14 | libxml2 | 2.9.4+dfsg1-2.1 | DEBIAN-CVE-2016-4658 |
| Ubuntu | 14.04:LTS | libxml2 | 2.9.1+dfsg1-3ubuntu4.9 | UBUNTU-CVE-2016-4658 USN-3235-1 |
| Ubuntu | 16.04:LTS | libxml2 | 2.9.3+dfsg1-1ubuntu0.2 | UBUNTU-CVE-2016-4658 USN-3235-1 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstation | libxml2, libxml2-devel, libxml2-python and 2 more | 0:2.9.1-6.el7_9.6 | RHSA-2021:3810 |
| Red Hat | enterprise_linux:7::computenode | libxml2-devel, libxml2-static, libxml2-debuginfo | 0:2.9.1-6.el7_9.6 | RHSA-2021:3810 |
| SUSE | Linux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1 | libxml2, python-libxml2 | 2.9.1-26.3.1 | SUSE-SU-2016:2650-1 |
| SUSE | Linux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 1 more | libxml2, python-libxml2 | 2.9.4-33.1 | SUSE-SU-2017:0380-1 |
| SUSE | Linux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4 | libxml2-python | 2.7.6-0.50.4 | SUSE-SU-2016:2652-1 |
| SUSE | Linux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4 | libxml2 | 2.7.6-0.50.1 | SUSE-SU-2016:2652-1 |
| SUSE | Linux Enterprise Software Development Kit 12 SP1 | libxml2 | 2.9.1-26.3.1 | SUSE-SU-2016:2650-1 |
| SUSE | Linux Enterprise Software Development Kit 12 SP2 | libxml2 | 2.9.4-33.1 | SUSE-SU-2017:0380-1 |
| openSUSE | Tumbleweed | libxml2 | 2.9.12-1.2 | openSUSE-SU-2024:11016-1 |
| openSUSE | Tumbleweed | ruby3.2-rubygem-nokogiri | 1.13.9-1.7 | openSUSE-SU-2024:13165-1 |
| openSUSE | Tumbleweed | rubygem-nokogiri | 1.13.3-1.1 | openSUSE-SU-2024:11912-1 |
| openSUSE | Tumbleweed | rubygem-nokogiri | 1.15.5-1.5 | openSUSE-SU-2024:14174-1 |
| openSUSE | Tumbleweed | rubygem-nokogiri | 1.18.2-1.1 | openSUSE-SU-2025:14697-1 |
| openSUSE | Tumbleweed | rubygem-nokogiri | 1.18.9-1.4 | openSUSE-SU-2026:10356-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
This flaw can be triggered by parsing untrusted XML files via applications compiled with libxml2 causing the application to crash. For web browsers or browser like applications, which parse untrusted web content, it may be possible to trigger this flaw without any user intervention and cause remote code execution with the permissions of the user running the browser. For other applications this flaw is difficult to trigger and even difficult to exploit in real life situations.
The status of mingw-libxml2 package in RHEL-8 is marked as "not-affected" because it does not impact end-users.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | libxml2-0:2.9.1-6.el7_9.6 | Fixed 2021-10-12 | RHSA-2021:3810 |
| Red Hat Enterprise Linux 5 | libxml2 | Will not fix | |
| Red Hat Enterprise Linux 6 | libxml2 | Will not fix | |
| Red Hat Enterprise Linux 8 | libxml2 | Not affected | |
| Red Hat Enterprise Linux 8 | mingw-libxml2 | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-4658.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-23-348-10 | Siemens SIMATIC S7-1500 | 2023-12-12 | Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and Facilities | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).