# CVE-2022-3965: ffmpeg QuickTime Graphics Video Encoder smcenc.c smc_encode_stream out-of-bounds

- Severity: Medium 4.3 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.21%, higher than 69% of CVEs (2026-12-02)
- Published: 2022-11-13T00:00:00.000Z
- Modified: 2026-06-17T05:00:40.313Z
- Weaknesses: CWE-119
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- unspecified ffmpeg: n/a
- ffmpeg ffmpeg: from 5.0 before 5.0.3; from 5.1 before 5.1.3

## Every score

- VulDB: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`

## References

- <https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/13c13109759090b7f7182480d075e13b36ed8edd> (patch, third-party-advisory)
- <https://vuldb.com/?id.213544> (permissions-required, third-party-advisory)
- <https://security.gentoo.org/glsa/202312-14> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-3965](https://www.cve.org/CVERecord?id=CVE-2022-3965), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-3965](https://nvd.nist.gov/vuln/detail/CVE-2022-3965), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-3965 · Whole record: https://cve.day/CVE-2022-3965.json · Rebuilt by cve.day 2026-11-25T22:58:16.431Z
