CVE-2026-5037 Details
Description
A vulnerability was determined in mxml up to 4.0.4. This issue affects the function index_sort of the file mxml-index.c of the component mxmlIndexNew. Executing a manipulation of the argument tempr can lead to stack-based buffer overflow. The attack is restricted to local execution. The exploit has been publicly disclosed and may be utilized. This patch is called 6e27354466092a1ac65601e01ce6708710bb9fa5. A patch should be applied to remediate this issue.
A heap-based buffer overflow vulnerability has been identified in the mxml library, specifically in versions up to 4.0.4. The issue arises in the 'index_sort' function within 'mxml-index.c', part of the 'mxmlIndexNew' component. The vulnerability is triggered when a malformed XML structure is parsed and passed to 'mxmlIndexNew' to create an index. During the sorting process, an array index can decrement past the beginning of the allocated node array, causing an out-of-bounds read before the allocated heap region. This vulnerability requires local execution to exploit.
Users are advised to update to the patched version of mxml, which is available on the official GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 29, 2026CISA-ADP
Assessed Apr 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/michaelrsweet/mxml/commit/6e27354466092a1ac65601e01ce6708710bb9fa5 | [email protected] | Source CodeVendor |
| https://github.com/michaelrsweet/mxml/issues/350 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/michaelrsweet/mxml/issues/350#issuecomment-4051317229 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/user-attachments/files/25934383/1.xml | [email protected] | Broken Link |
| https://vuldb.com/submit/778638 | [email protected] | Technical Description |
| https://vuldb.com/vuln/353963 | [email protected] | AdvisoryExploitRemedy |
| https://vuldb.com/vuln/353963/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mxml | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Mar 29, 2026 | New CVE Received | [email protected] |
Volerion