# CVE-2022-3965: ffmpeg QuickTime Graphics Video Encoder smcenc.c smc\_encode\_stream out-of-bounds

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-11-13 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2022-3965, DEBIAN-CVE-2022-3965, ALPINE-CVE-2022-3965
- Record: https://cvemate.com/vulnerability/CVE-2022-3965 · JSON: https://cvemate.com/vulnerability/CVE-2022-3965/json

## Description

```text
A vulnerability classified as problematic was found in ffmpeg. This vulnerability affects the function smc_encode_stream of the file libavcodec/smcenc.c of the component QuickTime Graphics Video Encoder. The manipulation of the argument y_size leads to out-of-bounds read. The attack can be initiated remotely. The name of the patch is 13c13109759090b7f7182480d075e13b36ed8edd. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-213544.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- EPSS: 1.205%, percentile 69.289%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine ffmpeg (Alpine Linux): ≥ 5.0, \< 5.1.2-r2 \| ≥ 5.0, \< 6.0-r0 \| ≥ 5.1, \< 5.1.2-r2 \| ≥ 5.1, \< 6.0-r0
- debian ffmpeg (Debian): \< 7:5.1.3-1
- ubuntu ffmpeg (Ubuntu): All versions (No fix recorded)
- ffmpeg ffmpeg: ≥ 5.0, \< 5.0.3 \| ≥ 5.1, \< 5.1.3
- unspecified ffmpeg: n/a

## References

- <https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/13c13109759090b7f7182480d075e13b36ed8edd>
- <https://vuldb.com/?id.213544>
- <https://security.gentoo.org/glsa/202312-14>
- <https://ubuntu.com/security/CVE-2022-3965>
- <https://ubuntu.com/security/notices/USN-5958-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-3965>
- <https://security-tracker.debian.org/tracker/CVE-2022-3965>
- <https://security.alpinelinux.org/vuln/CVE-2022-3965>

---

Data as of 2026-12-05T04:20:08.038Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
