CVE-2020-21041: Buffer Overflow

Published May 24, 2021
·
Updated

Buffer Overflow vulnerability exists in FFmpeg 4.1 via apngdoinverseblend in libavcodec/pngenc.c, which could let a remote malicious user cause a Denial of Service

Affected Software

22 affected componentsFixes available
debian/ffmpeg
7:4.3.7-0+deb11u17:4.3.8-0+deb11u17:5.1.6-0+deb12u17:7.0.2-37:7.1-3
FFmpeg FFmpeg=4.1
Debian Debian Linux=9.0
Debian Debian Linux=10.0
alpine/ffmpeg<4.4-r0
4.4-r0
alpine/ffmpeg<4.4-r0
4.4-r0
alpine/ffmpeg<4.4-r0
4.4-r0
alpine/ffmpeg<4.4-r0
4.4-r0
alpine/ffmpeg<4.4-r0
4.4-r0
alpine/ffmpeg<4.4-r0
4.4-r0
alpine/ffmpeg<4.4-r0
4.4-r0
alpine/ffmpeg<4.4-r0
4.4-r0
alpine/ffmpeg<4.4-r0
4.4-r0
alpine/ffmpeg<4.4-r0
4.4-r0
alpine/ffmpeg<4.4-r0
4.4-r0
alpine/ffmpeg4<4.4-r0
4.4-r0
alpine/ffmpeg4<4.4-r0
4.4-r0
alpine/ffmpeg4<4.4-r0
4.4-r0
alpine/ffmpeg4<4.4-r0
4.4-r0
alpine/ffmpeg4<4.4-r0
4.4-r0
alpine/ffmpeg4<4.4-r0
4.4-r0
alpine/ffmpeg4<4.4-r0
4.4-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/ffmpeg to a version that resolves this vulnerability.

    Fixed in 7:4.3.7-0+deb11u1Fixed in 7:4.3.8-0+deb11u1Fixed in 7:5.1.6-0+deb12u1Fixed in 7:7.0.2-3Fixed in 7:7.1-3
  2. Upgrade

    Upgrade alpine/ffmpeg to a version that resolves this vulnerability.

    Fixed in 4.4-r0
  3. Upgrade

    Upgrade alpine/ffmpeg4 to a version that resolves this vulnerability.

    Fixed in 4.4-r0

Event History

May 24, 2021
CVE Published
via MITRE·05:31 PM
Data Sourced
via MITRE·05:31 PM
Description
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the vulnerability ID of this buffer overflow vulnerability?

The vulnerability ID of this buffer overflow vulnerability is CVE-2020-21041.

2

In which version of FFmpeg does this vulnerability exist?

This vulnerability exists in FFmpeg version 4.1.

3

What is the root cause of this vulnerability?

The root cause of this vulnerability is a buffer overflow in the apng_do_inverse_blend function in libavcodec/pngenc.c.

4

What can a remote malicious user do with this vulnerability?

A remote malicious user can exploit this vulnerability to cause a Denial of Service (DoS) attack.

5

Are there any remedies available for this vulnerability?

Yes, there are remedies available for this vulnerability. Please refer to the provided references for more information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203