{
  "id": "CVE-2026-29022",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-29022",
  "published_at": "2026-03-03T19:49:16.581Z",
  "title": "mackron / dr_libs dr_wav.h Heap Buffer Overflow via WAV File",
  "vendor": "mackron",
  "product": "dr_libs dr_wav.h",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "dr_libs dr_wav.h version 0.14.4 and earlier (fixed in commit 8a7258c) contain a heap buffer overflow vulnerability in the drwav__read_smpl_to_metadata_obj() function of dr_wav.h that allows memory corruption via crafted WAV files. Attackers can exploit a mismatch between sampleLoopCount validation in pass 1 and unconditional processing in pass 2 to overflow heap allocations with 36 bytes of attacker-controlled data through any drwav_init_*_with_metadata() call on untrusted input.",
  "cwe": "CWE-122",
  "cpes": [
    "cpe:2.3:a:mackron:dr_libs:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.3,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "mackron",
        "product": "dr_libs dr_wav.h",
        "ranges": [
          "\u003c= 0.14.4"
        ],
        "fixed_in": [
          "8a7258cc66b49387ad58cc5b81568982a3560d49"
        ]
      }
    ],
    "upgrade": [
      "Upgrade dr_libs dr_wav.h to 8a7258cc66b49387ad58cc5b81568982a3560d49 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md",
      "source": "pocindex",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T11:25:11.578Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
