← Back to CVE Explorer

CVE-2026-71261

Full vulnerability record from the local CVENow database.

Description

dr_libs dr_wav.h (all versions through current master) contains an integer overflow in W64 CUE chunk metadata parsing. In drwav__metadata_process_chunk, a stage-1 capacity estimate truncates the 64-bit W64 chunk sizeInBytes to size_t before dividing by DRWAV_CUE_POINT_BYTES; on 32-bit builds this truncation causes the pre-allocated extra metadata capacity to be computed incorrectly.

Severity
HIGH
CVSS score
7.8 (v3.1)
Vulnerability status
Deferred
Source identifier
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Published
2026-08-05 13:24:50.233000
Last modified
2026-10-24 15:10:00.190000
View original CVE JSON
{
  "id": "CVE-2026-71261",
  "sourceIdentifier": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
  "published": "2026-08-05T13:24:50.233",
  "lastModified": "2026-10-24T15:10:00.190",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "dr_libs dr_wav.h (all versions through current master) contains an integer overflow in W64 CUE chunk metadata parsing. In drwav__metadata_process_chunk, a stage-1 capacity estimate truncates the 64-bit W64 chunk sizeInBytes to size_t before dividing by DRWAV_CUE_POINT_BYTES; on 32-bit builds this truncation causes the pre-allocated extra metadata capacity to be computed incorrectly."
    },
    {
      "lang": "es",
      "value": "dr_libs dr_wav.h (todas las versiones hasta la actual master) contiene un desbordamiento de entero en el análisis de metadatos de fragmentos CUE W64. En drwav__metadata_process_chunk(), una estimación de capacidad de etapa 1 trunca el tamaño de fragmento W64 de 64 bits sizeInBytes a size_t antes de dividir por DRWAV_CUE_POINT_BYTES; en compilaciones de 32 bits esta truncación causa que la capacidad de metadatos extra preasignada se calcule incorrectamente. La lectura subsiguiente en drwav__read_cue_to_metadata_obj() calcula el recuento real de puntos de referencia y el tamaño de asignación utilizando el campo cuePointCount de precisión completa y controlado por el atacante sin cotejarlo con la estimación de capacidad de etapa 1, y la única aplicación de límites en la región de memoria resultante (drwav__metadata_get_memory()) es un DRWAV_ASSERT, que se compila como una operación nula bajo -DNDEBUG (el valor predeterminado para las compilaciones de lanzamiento). Un archivo WAV W64 manipulado puede, por lo tanto, causar un desbordamiento de búfer de pila en cualquier aplicación de 32 bits que analice metadatos WAV no confiables."
    }
  ],
  "affected": [
    {
      "source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
      "affectedData": [
        {
          "vendor": "mackron",
          "product": "dr_libs",
          "defaultStatus": "unaffected",
          "programFiles": [
            "dr_wav.h"
          ],
          "versions": [
            {
              "version": "0",
              "lessThanOrEqual": "*",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "baseScore": 7.8,
          "baseSeverity": "HIGH",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 5.9
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-08-05T15:36:58.042254Z",
          "id": "CVE-2026-71261",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-190"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/mackron/dr_libs",
      "source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c"
    },
    {
      "url": "https://github.com/mackron/dr_libs/blob/master/dr_wav.h",
      "source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c"
    }
  ]
}