{
  "affected": [
    {
      "ranges": [
        {
          "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"
            ]
          },
          "events": [
            {
              "introduced": "9856aa51e3449ffd2b589fb2480f1b18bc006ea2"
            },
            {
              "fixed": "6e27354466092a1ac65601e01ce6708710bb9fa5"
            }
          ],
          "repo": "https://github.com/michaelrsweet/mxml",
          "type": "GIT"
        }
      ],
      "versions": [
        "4.0.0",
        "4.0.1",
        "4.0.2",
        "4.0.3",
        "4.0.4"
      ]
    }
  ],
  "database_specific": {
    "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"
  },
  "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.",
  "id": "CVE-2026-5037",
  "modified": "2026-07-08T05:38:50.479558161Z",
  "published": "2026-03-29T08:45:11.533Z",
  "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"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "mxml mxmlIndexNew mxml-index.c index_sort stack-based overflow"
}