Description
Buffer Overflow vulnerability in FFMpeg 4.2.3 in dnn_execute_layer_pad in libavfilter/dnn/dnn_backend_native_layer_pad.c due to a call to memcpy without length checks, which could let a remote malicious user execute arbitrary code.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ffmpeg | 7:4.3.1-1 | — |
| Debian 13 | ffmpeg | 7:4.3.1-1 | — |
| Debian 12 | ffmpeg | 7:4.3.1-1 | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | ffmpeg | 4.4-r0 | — |
| Alpine v3.23 | ffmpeg | 4.4-r0 | — |
| Alpine v3.22 | ffmpeg +1 | 4.4-r0 | — |
| Alpine v3.21 | ffmpeg +1 | 4.4-r0 | — |
| Alpine v3.20 | ffmpeg +1 | 4.4-r0 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | ffmpeg +1 | 4.4-r0 | — |
| Alpine v3.18 | ffmpeg +1 | 4.4-r0 | — |
| Alpine v3.17 | ffmpeg +1 | 4.4-r0 | — |
| Alpine v3.16 | ffmpeg +1 | 4.4-r0 | — |
| Alpine v3.15 | ffmpeg | 4.4-r0 | — |
| Alpine v3.14 | ffmpeg | 4.4-r0 | — |
Advisories 1
- WID-SEC-2022-0210 ffmpeg: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 19, 2025