Vulnerability · Published Nov 13, 2022 · Assigned by VulDB
CVE-2022-3965ffmpeg QuickTime Graphics Video Encoder smcenc.c smc_encode_stream out-of-bounds
Medium 4.3
In plain English
A medium-severity memory corruption in ffmpeg from unspecified. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | ffmpeg | 6.0-r0 | ALPINE-CVE-2022-3965 |
| Alpine:v3.21 | ffmpeg | 6.0-r0 | ALPINE-CVE-2022-3965 |
| Alpine:v3.22 | ffmpeg | 6.0-r0 | ALPINE-CVE-2022-3965 |
| Alpine:v3.23 | ffmpeg | 6.0-r0 | ALPINE-CVE-2022-3965 |
| Alpine:v3.24 | ffmpeg | 6.0-r0 | ALPINE-CVE-2022-3965 |
| Debian:12 | ffmpeg | 7:5.1.3-1 | DEBIAN-CVE-2022-3965 |
| Debian:13 | ffmpeg | 7:5.1.3-1 | DEBIAN-CVE-2022-3965 |
| Debian:14 | ffmpeg | 7:5.1.3-1 | DEBIAN-CVE-2022-3965 |
| Ubuntu:25.10 | ffmpeg | no fix listed | UBUNTU-CVE-2022-3965 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| unspecified | ffmpeg | n/a |
Weakness: CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L