Skip to content
Heist/ feed
Back to feed
Medium

WildMIDI through 0.5.0 Heap Out-of-Bounds Read via _WM_ParseNewHmi

Type: advisorySources: OSV

WildMIDI through 0.5.0 contains a heap out-of-bounds read vulnerability in _WM_ParseNewHmi() in src/f_hmi.c that reads past buffers when handling 0xfe sub-events. Attackers can supply a crafted HMI file placing a 0xfe 0x10 sub-event near the buffer end to read up to four bytes past the allocation, crashing the decoding application.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-111163
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:41 UTC · Revision 1

Source evidence

WildMIDI through 0.5.0 Heap Out-of-Bounds Read via _WM_ParseNewHmi

core-osv · Original source

Published 15 Oct 2026, 18:57 UTC

WildMIDI through 0.5.0 contains a heap out-of-bounds read vulnerability in _WM_ParseNewHmi() in src/f_hmi.c that reads past buffers when handling 0xfe sub-events. Attackers can supply a crafted HMI file placing a 0xfe 0x10 sub-event near the buffer end to read up to four bytes past the allocation, crashing the decoding application.

osv:CVE-2026-111163
Complete source record
{
  "id": "3a7182ed21c2696ff19e5074fa86e3da29d383f274ba98817d51dd372fc0f8f6",
  "url": "https://osv.dev/vulnerability/CVE-2026-111163",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "WildMIDI through 0.5.0 Heap Out-of-Bounds Read via _WM_ParseNewHmi",
    "summary": "WildMIDI through 0.5.0 contains a heap out-of-bounds read vulnerability in _WM_ParseNewHmi() in src/f_hmi.c that reads past buffers when handling 0xfe sub-events. Attackers can supply a crafted HMI file placing a 0xfe 0x10 sub-event near the buffer end to read up to four bytes past the allocation, crashing the decoding application.",
    "evidence": "osv:CVE-2026-111163",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-111163",
      "aliases": [
        "CVE-2026-111163"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mindwerks/wildmidi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "340472ed4633d139d30c660b90eca03c1320e593"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.5.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.5.0"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "wildmidi-0.5.0",
            "wildmidi-0.4.6",
            "wildmidi-0.4.5",
            "wildmidi-0.4.4",
            "wildmidi-0.4.3",
            "wildmidi-0.4.2",
            "wildmidi-0.4.1",
            "wildmidi-0.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111163.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.238133988Z",
      "provider": "osv",
      "references": [
        "https://github.com",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111163.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-111163",
        "https://www.vulncheck.com/advisories/wildmidi-through-0.5.0-heap-out-of-bounds-read-via-wm-parsenewhmi",
        "https://github.com/Mindwerks/wildmidi",
        "https://github.com/Mindwerks/wildmidi/blob/340472ed4633d139d30c660b90eca03c1320e593/src/f_hmi.c#L268-L290",
        "https://hackmd.io/@haind-pwn/wildmidi-hmp-chunk-length-underflow-oob-read"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-125"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111163.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-111163",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505791,
  "published_at": "2026-10-15T18:57:50.508+00:00"
}