# CVE-2026-105250: vgmstream divide by zero in Microsoft IMA decoder

Source: https://junglewise.ai/threats/cve-2026-105250-a-security-vulnerability-has-been-detected-in-vgmstream-up-to  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-05. Updated: 2026-10-05  
License: CC BY 4.0 with a link back

CVE-2026-105250 · Severity: medium · CVSS 4.3 · Published 2026-10-05

vgmstream is a library that decodes audio formats used in video games. A malformed audio file can cause a divide-by-zero error in the Microsoft IMA ADPCM decoder, crashing any application that uses vgmstream to play untrusted audio files. This results in denial of service.

Technologies: [Vgmstream](https://junglewise.ai/threats/technologies/vgmstream). Vendors: [Vgmstream](https://junglewise.ai/threats/vendors/vgmstream).

## Quick answers

**Is CVE-2026-105250 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-105250 being exploited in the wild.

**How severe is CVE-2026-105250?** Medium severity, with a CVSS score of 4.3, published 5 October 2026.

**Which products and versions are affected?** Vgmstream up to r2117.

**Is there a fix for CVE-2026-105250?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-105250 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-105250?** Check whether you run Vgmstream at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The decode_ms_ima() function in src/coding/ima_decoder.c fails to validate frame_channels and block_samples before using them in arithmetic operations, particularly a modulo operation. An attacker can craft a RIFF/WAVE file with malformed header fields to force invalid decoder geometry (non-positive channel or block sample counts) that trigger the divide-by-zero condition when the decoder processes the file.

## Affected products

- vgmstream vgmstream up to r2117

## Timeline

- 2026-08-20: disclosed
- 2026-10-05: advisory

## References

- [https://github.com/vgmstream/vgmstream/](https://github.com/vgmstream/vgmstream/)
- [https://github.com/vgmstream/vgmstream/issues/1999](https://github.com/vgmstream/vgmstream/issues/1999)

## Related threats

- [vgmstream out-of-bounds read in VAG file handler](https://junglewise.ai/threats/cve-2026-105251-a-vulnerability-was-detected-in-vgmstream-up-to-r2117-affected)
- [vgmstream use-after-free in TXTP file handler](https://junglewise.ai/threats/cve-2026-105249-a-weakness-has-been-identified-in-vgmstream-up-to-r2117-this)
- [vgmstream out-of-bounds write in TXTP file handler](https://junglewise.ai/threats/cve-2026-105248-a-security-flaw-has-been-discovered-in-vgmstream-up-to-r2117)
- [vgmstream divide-by-zero in AWB parser](https://junglewise.ai/threats/cve-2026-92881-vgmstream-divide-by-zero-in-awb-parser)
- [vgmstream out-of-bounds write in EA SCHl parser](https://junglewise.ai/threats/cve-2026-92880-vgmstream-out-of-bounds-write-in-ea-schl-parser)
