{"id":"CVE-2026-5037","summary":"mxml mxmlIndexNew mxml-index.c index_sort stack-based overflow","details":"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.","modified":"2026-08-12T16:25:39.459745Z","published":"2026-03-29T08:45:11.533Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5037.json","cna_assigner":"VulDB","cwe_ids":["CWE-119","CWE-121"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5037.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5037"},{"type":"ADVISORY","url":"https://vuldb.com/submit/778638"},{"type":"ADVISORY","url":"https://vuldb.com/vuln/353963"},{"type":"REPORT","url":"https://github.com/michaelrsweet/mxml/issues/350"},{"type":"REPORT","url":"https://github.com/michaelrsweet/mxml/issues/350#issuecomment-4051317229"},{"type":"REPORT","url":"https://vuldb.com/vuln/353963/cti"},{"type":"FIX","url":"https://github.com/michaelrsweet/mxml/commit/6e27354466092a1ac65601e01ce6708710bb9fa5"},{"type":"EVIDENCE","url":"https://github.com/user-attachments/files/25934383/1.xml"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/michaelrsweet/mxml","events":[{"introduced":"9856aa51e3449ffd2b589fb2480f1b18bc006ea2"},{"fixed":"6e27354466092a1ac65601e01ce6708710bb9fa5"}],"database_specific":{"extracted_events":[{"introduced":"4.0.0"},{"last_affected":"4.0.0"},{"introduced":"4.0.1"},{"last_affected":"4.0.1"},{"introduced":"4.0.2"},{"last_affected":"4.0.2"},{"introduced":"4.0.3"},{"last_affected":"4.0.3"},{"introduced":"4.0.4"},{"last_affected":"4.0.4"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","v4.0.4","v4.0.3","v4.0.2","v4.0.1","v4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5037.json","vanir_signatures_modified":"2026-08-12T16:25:39Z","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"167412891060347600109058155407368844317","length":775},"id":"CVE-2026-5037-26970333","signature_type":"Function","signature_version":"v1","source":"https://github.com/michaelrsweet/mxml/commit/6e27354466092a1ac65601e01ce6708710bb9fa5","target":{"file":"mxml-index.c","function":"index_sort"}},{"digest":{"line_hashes":["265056528606684705268535582494393934161","283369205021666944339974419906024592725","225934523231056784455595241547906328999","47655975176722495664304083787865750631","1876303306934229004661748900106426333"],"threshold":0.9},"id":"CVE-2026-5037-b0f7e0f8","signature_type":"Line","signature_version":"v1","source":"https://github.com/michaelrsweet/mxml/commit/6e27354466092a1ac65601e01ce6708710bb9fa5","target":{"file":"mxml-index.c"},"deprecated":false}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}]}