CVE-2016-4571
Research article
Mini-XML CVE-2016-4571: unbounded recursion in mxml_write_node allows denial of service via crafted XML
| CVE | CVE-2016-4571 |
|---|---|
| Published | November 21, 2026 23:05 UTC |
| Research cut-off | November 21, 2026 23:00 UTC |
| Sources reviewed | 5: NVD record (last modified 2026-06-17); CISA KEV catalog; vendor advisory page (openwall.com); FIRST EPSS (2026-11-21); 1 vendor bulletin |
Executive summary
CVE-2016-4571 is a resource-exhaustion flaw in the Mini-XML library, where recursion in mxml_write_node is not bounded and a crafted XML document can crash the process [3, 4]. NIST NVD scores it CVSS 3.1 5.5 MEDIUM with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, reflecting a high availability impact only [1]. NVD lists mini-xml up to and including 2.7, version 2.9, and Debian Linux 8.0 as affected, while Ubuntu states only Ubuntu 16.04 LTS was affected [1, 4]. The sources reviewed show no fixed version, so the exact patched release must be taken from the vendor or distribution notice. The CVE is not in the CISA KEV catalog as of 2026-11-21, which does not show that it has not been exploited [2]. The FIRST EPSS estimate is 1.59% for exploitation activity in the next 30 days [5]. The most important immediate action is to inventory Mini-XML copies on systems that parse untrusted XML and to confirm the installed package version against Ubuntu notice USN-9115-1 [4].
Key points
- CVE-2016-4571 is an unbounded recursion in Mini-XML's mxml_write_node that a crafted XML document can trigger, causing a crash and denial of service [3, 4].
- NVD scores it CVSS 3.1 5.5 MEDIUM with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H; the impact is availability only [1].
- NVD lists mini-xml up to 2.7, version 2.9, and Debian Linux 8.0; Ubuntu lists 16.04 LTS [1, 4].
- No fixed version appears in the pack; the Ubuntu notice USN-9115-1 is the starting point for the patched package [4].
- Not in CISA KEV as of 2026-11-21; EPSS is 1.59%, an estimate and not evidence of exploitation [2, 5].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2016-4571 [1] |
| Vendor / project | mini-xml project [1] |
| Component | Recursive node writer mxml_write_node in mxml-file.c, line 2739 [3] |
| Platforms in sources | Debian Linux 8.0 (NVD configuration) [1]; Ubuntu 16.04 LTS (Ubuntu bulletin) [4] |
| Published | 2017-02-03T15:59:00 [1] |
| Last modified | 2026-06-17T00:47:48 [1] |
| Record status | Modified [1] |
| CWE | CWE-400, Uncontrolled Resource Consumption. NIST maps the flaw to the class where resource use is not limited while input is processed [1] |
| CVSS 3.1 base score | 5.5 MEDIUM; vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H; scored by NVD (Primary) [1] |
| Other CVSS scores | None in the pack; the vendor and reporter texts give no CVSS score [3] |
| Related CVE | CVE-2016-4570, a separate recursion in mxmlDelete at mxml-node.c line 217 [3, 4] |
| Related references | Ubuntu USN-9115-1 [4]; openwall oss-security posts [1, 3]; Red Hat Bugzilla entry 1334648 and a Debian LTS announcement from 2019 [1] |
The record is in Modified status, so its contents changed after publication. The pack does not show what changed [1].
Vulnerability description
The flaw is a recursive function in Mini-XML's XML node writer that does not limit how deep the recursion goes. The CVE assignment, as relayed by a third-party page, describes stack exhaustion caused by this recursion [3]. The reporter stated that a crafted XML document can trigger the recursion and that parsing such a document can easily crash Mini-XML [3]. Ubuntu describes the outcome as a possible crash leading to denial of service and does not mention code execution [4].
The violated security property is availability. NVD records no confidentiality or integrity impact and a high availability impact [1]. The sources do not show any read, modification or privilege change, and they do not describe any authentication bypass.
Two points remain unresolved. The vulnerable function is a writer, yet the reporter describes the trigger as parsing [3]. The sources do not explain how parsing reaches the writer. Also, the pack gives no evidence about which applications expose Mini-XML to untrusted input.
Attack surface and exploitation prerequisites
| Factor | Status | Source |
|---|---|---|
| Attack vector | Local per the vector string (AV:L). The vector alone does not show how an attacker reaches the document-processing path. | [1] |
| Authentication | None required per vector (PR:N) | [1] |
| User interaction | Required per vector (UI:R). The sources do not state what action the user must take. | [1] |
| Scope | Unchanged (S:U) | [1] |
| Input | A crafted XML document that reaches the Mini-XML writer path | [3] |
| Application dependency | The affected application must use Mini-XML and handle the crafted input. The sources name no application or feature. | Not established |
| Configuration | No special configuration is named in the sources | Not established |
The vector sets a local attack vector and user interaction, but the reporter describes a crafted document as the trigger [1, 3]. Whether a remote attacker can supply such a document depends on the application, and the pack does not identify one.
Impact analysis
| Area | Technically shown or stated | Source |
|---|---|---|
| Confidentiality | None (C:N) | [1] |
| Integrity | None (I:N) | [1] |
| Availability | High (A:H); the vendor bulletin describes denial of service by crash | [1, 4] |
| Authentication and authorization | No effect stated; PR:N means no privileges are needed to trigger the flaw | [1] |
| Privilege boundary | Not established by the reviewed sources | Not established |
| Data and privacy | Not established; no data exposure is described | [1, 3, 4] |
| Business operations | A crashed process that uses Mini-XML stops until restarted. The effect depends on the application. | [4] (analyst assessment for the operational consequence) |
| Regulatory or contractual | Not established | Not established |
Affected products and versions
| Product | Affected versions or range | Platform | Fixed version | Source and qualification |
|---|---|---|---|---|
| mini-xml project mini-xml | Up to and including 2.7 | Library | Not in the pack | NVD configuration [1] |
| mini-xml project mini-xml | 2.9 | Library | Not in the pack | NVD configuration [1] |
| Debian Linux | 8.0 | Distribution | Not in the pack | NVD configuration [1] |
| Ubuntu | 16.04 LTS | Distribution | Not in the pack | Ubuntu bulletin states only this release was affected [4] |
The NVD configuration lists 2.7 and earlier and then 2.9. Version 2.8 is not in the pack, so the complete affected range cannot be determined from these sources [1]. The NVD and Ubuntu lists also differ on which distributions are affected [1, 4]. The pack gives no package versions and no fixed release for any product.
Exploitation and threat intelligence status
- Confirmed in-the-wild exploitation: not established by the reviewed sources.
- CISA KEV: not listed as of 2026-11-21. This is not evidence that the CVE has not been exploited [2].
- EPSS: 0.0159 (1.59%) estimated probability of exploitation activity in the next 30 days, percentile 0.7626, as of 2026-11-21. EPSS is a statistical estimate, not evidence of exploitation [5].
- Public proof of concept: none is referenced in the pack. The reporter's disclosure described the crash condition [3].
- Threat actors and campaigns: not established by the reviewed sources.
- Date reliability: the EPSS and KEV checks are current to 2026-11-21 [2, 5]. The openwall text has no date [3]. The Ubuntu bulletin is dated 2026-11-17 and covers a 2016 issue without giving a reason in the pack [4].
Detection and exposure assessment
The pack contains no indicators of compromise, no vendor detection guidance, and no log events for this CVE.
- Inventory Mini-XML copies on Debian-based hosts with a read-only package query. Prerequisite: shell access. Expected output: installed package names and versions. Limitation: this does not find statically linked or bundled copies, and the pack gives no package name for Mini-XML. Run: dpkg -l with a grep for mxml, and check the package names on the USN-9115-1 notice [4].
- Compare each installed version with the list in the affected products table. Treat a match as a candidate for review, not proof of exploitability.
- Identify applications that load the library and accept XML from users, network clients or other untrusted sources. The pack names no such applications, so this must come from the local application inventory.
- Review crash and restart events for processes that use Mini-XML. The pack gives no log sources or event fields. Use the application's own crash logs and the host's service manager logs, and record the times and any crafted input that preceded a crash.
Remediation
Immediate mitigation (analyst assessment, not stated in any source):
- Stop accepting untrusted XML in applications that use Mini-XML until the installed version is confirmed. This reduces exposure to the reported trigger [3]. Verify by checking that the input path is disabled or routed to a parser that is not affected.
- Run the parsing service under a process supervisor that restarts it after a crash. A crash will then cause a short outage, not a permanent one [4]. Verify with a supervisor status check after a controlled, non-malicious test restart.
Permanent fix:
The pack gives no fixed version or patch identifier for any affected product. The Ubuntu notice USN-9115-1 lists the fix for Ubuntu 16.04 LTS [4], so the patched package version must be read from that notice and applied with the standard package manager. After updating, confirm the installed version with the same dpkg query used for inventory. Restart each dependent service and confirm it starts. The pack does not say whether a restart or reload is required for the fix.
For other distributions and the upstream project, obtain the fixed version from the vendor or project advisory. The reviewed sources do not provide it [1].
Root cause analysis
Confirmed (CVE assignment text relayed by a third-party page): the recursion in mxml_write_node at mxml-file.c line 2739 can be triggered by a crafted XML document [3].
Analyst assessment: the sources describe the recursion as unbounded [4]. A recursive writer that does not limit depth can exhaust the stack when the input nesting is deep. The sources do not say whether the writer or the parser performs the nesting check.
Not disclosed by the sources: the design decision behind the missing limit, the upstream code change, and the reason parsing is reported as the trigger.
Remediation checklist
- Inventory Mini-XML copies on each Debian-based host with a read-only dpkg query and record the installed versions [4].
- Compare the recorded versions with mini-xml up to 2.7, 2.9, Debian Linux 8.0 and Ubuntu 16.04 LTS; treat matches as candidates for review [1, 4].
- Identify each application that accepts XML from users or network clients and uses Mini-XML; the pack names none, so use the local application inventory.
- Disable untrusted XML input in those applications, or route it to a parser that is not affected, until the installed version is confirmed. This is analyst recommended, not stated in a source [3].
- Run the affected service under a process supervisor that restarts it after a crash, and verify the restart with a status check after a controlled test [4].
- Apply the patched package named in Ubuntu notice USN-9115-1 for Ubuntu 16.04 LTS using the standard package manager; the pack does not give the version number [4].
- Re-run the dpkg query after the update and confirm the installed version matches the fixed package from the notice [4].
- Restart each dependent service after the update and confirm it starts and processes a sample of known-good input.
- For other distributions, obtain the fixed version from the vendor or project advisory; the reviewed sources do not provide it [1].
- Review crash and restart events from the affected services for the period before and after any suspected crafted input; the pack gives no log fields to search for [3, 4].
Evidence gaps
- Not established by the reviewed sources: a fixed version or patch identifier for mini-xml, Debian Linux or Ubuntu; obtain it from the vendor or project advisories and the Ubuntu notice USN-9115-1.
- Not established by the reviewed sources: whether version 2.8 is affected; NVD lists 2.7 and earlier and 2.9 only, so check the upstream release history and the changelog.
- Not established by the reviewed sources: why the writer is reached from parsing, since the reporter describes parsing as the trigger; obtain the reporter's proof-of-concept description or the upstream fix commit.
- Not established by the reviewed sources: which applications or features expose Mini-XML to untrusted XML; check the local application inventory and the vendor documentation of each application.
- Not established by the reviewed sources: any CVSS score from the vendor or Ubuntu, and why the record was modified on 2026-06-17; check the NVD change history.
- Not established by the reviewed sources: confirmed exploitation, public exploit code, indicators of compromise or log events; check threat intelligence feeds and the vendor advisories after the research cut-off.
- Not established by the reviewed sources: the reason the Ubuntu notice was issued in 2026 for a 2016 CVE; check the notice's own revision history.
References
- CVE-2016-4571 record. NIST National Vulnerability Database (NVD), 2026-06-17. https://nvd.nist.gov/vuln/detail/CVE-2016-4571. Accessed 2026-11-21.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-21. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-21.
- Third party advisory page (openwall.com). openwall.com. http://www.openwall.com/lists/oss-security/2016/05/09/16. Accessed 2026-11-21.
- USN-9115-1: Mini-XML vulnerabilities. Ubuntu USN, 2026-11-17. https://ubuntu.com/security/notices/USN-9115-1. Accessed 2026-11-21.
- EPSS score for CVE-2016-4571. FIRST, 2026-11-21. https://api.first.org/data/v1/epss?cve=CVE-2016-4571. Accessed 2026-11-21.
Summary
It was discovered that Mini-XML used unbounded recursion when deleting and writing XML nodes. An attacker could possibly use these issues to cause Mini-XML to crash, resulting in a denial of service. These issues only affected Ubuntu 16.04 LTS. (CVE-2016-4570, CVE-2016-4571) It was discovered that Mini-XML incorrectly handled certain floating point values when writing XML nodes, leading to a stac…
Severity breakdown
Medium · 5.5
An attacker without an account can exploit this with local access if a user is tricked into an action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
- CWE-400: Uncontrolled Resource Consumption
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| mini-xml project mini-xml | ≤ 2.7 | — |
| 2.9 | — | |
| debian linux | 8.0 | — |
References by type
Other references
Frequently asked questions
What is CVE-2016-4571?
CVE-2016-4571 is a resource-exhaustion flaw in the Mini-XML library, where recursion in mxmlwritenode is not bounded and a crafted XML document can crash the process. NIST NVD scores it CVSS 3.1 5.5 MEDIUM with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, reflecting a high availability impact only. Weakness type: Uncontrolled Resource Consumption (CWE-400).
How severe is CVE-2016-4571?
CVE-2016-4571 has a CVSS 3.1 base score of 5.5 (medium), from NVD. An attacker without an account can exploit this with local access if a user is tricked into an action.
Is CVE-2016-4571 being exploited?
Not as far as is known: CVE-2016-4571 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 1.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2016-4571?
mini-xml project mini-xml ≤ 2.7; mini-xml project mini-xml 2.9; debian linux 8.0.
How do I fix CVE-2016-4571?
Inventory Mini-XML copies on each Debian-based host with a read-only dpkg query and record the installed versions. Compare the recorded versions with mini-xml up to 2.7, 2.9, Debian Linux 8.0 and Ubuntu 16.04 LTS; treat matches as candidates for review. Identify each application that accepts XML from users or network clients and uses Mini-XML; the pack names none, so use the local application inventory.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-137941 — Red Hat Enterprise Linux 6
- Privilege Escalation Vulnerability in tuned Affects Local Users
- 12-Year-Old Linux Kernel NFS Flaw Allows Unauthenticated Root Takeover
- Privilege Escalation Vulnerability in Linux-PAM Due to Misconfigured Vendor Directories
- CERT-In Rates Linux KVM Memory Flaw High, Warns Guest Users Could Reach Host Memory