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.
{
"cna_assigner": "VulDB",
"cwe_ids": [
"CWE-119",
"CWE-121"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5037.json"
}{
"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"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5037.json"
[
{
"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"
}
},
{
"deprecated": false,
"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"
}
}
]
"2026-08-12T16:25:39Z"