CVE-2021-4214
A heap overflow flaw was found in libpngs' pngimage.c program. This flaw allows an attacker with...
A heap overflow flaw was found in libpngs' pngimage.c program. This flaw allows an attacker with local network access to pass a specially crafted PNG file to the pngimage utility, causing an application to crash, leading to a denial of service.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
A heap overflow flaw was found in libpngs' pngimage.c program. This flaw allows an attacker with local network access to pass a specially crafted PNG file to the pngimage utility, causing an application to crash, leading to a denial of service.
- Record
CVE-2021-4214- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-120, CWE-787
- Updated
- 2026-11-02
CVE List No score
A heap overflow flaw was found in libpngs' pngimage.c program. This flaw allows an attacker with local network access to pass a specially crafted PNG file to the pngimage utility, causing an application to crash, leading to a denial of service.
- Record
CVE-2021-4214- Weakness
- CWE-120
- Updated
- 2026-11-02
EUVDEUVD-2021-34072 No score
A heap overflow flaw was found in libpngs' pngimage.c program. This flaw allows an attacker with local network access to pass a specially crafted PNG file to the pngimage utility, causing an application to crash, leading to a denial of service.
- Record
EUVD-2021-34072- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-v3c8-fhq3-xvvh
5.5
A heap overflow flaw was found in libpngs' pngimage.c program. This flaw allows an attacker with...
A heap overflow flaw was found in libpngs' pngimage.c program. This flaw allows an attacker with local network access to pass a specially crafted PNG file to the pngimage utility, causing an application to crash, leading to a denial of service.
- Record
GHSA-v3c8-fhq3-xvvh- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-120, CWE-787
- Updated
- 2026-11-02
OSV
5.5
A heap overflow flaw was found in libpngs' pngimage.c program. This flaw allows an attacker with local network access to pass a specially crafted PNG file to the pngimage utility, causing an application to crash, leading to a denial of service.
- Record
CVE-2021-4214- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-4214
5.5
A heap overflow flaw was found in libpngs' pngimage.c program. This flaw allows an attacker with local network access to pass a specially crafted PNG file to the pngimage utility, causing an application to crash, leading to a denial of service.
- Record
DEBIAN-CVE-2021-4214- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libpng1.6Debian:12 |
All versions, plus listed versions 1.6.39-21.6.39-2+deb12u11.6.39-2+deb12u21.6.39-2+deb12u31.6.39-2+deb12u4 Show 37 moreShow less1.6.39-2+deb12u51.6.39-2+deb12u61.6.40-11.6.40-21.6.40-31.6.41-11.6.42-11.6.42-1.1~exp11.6.43-11.6.43-1exp11.6.43-21.6.43-31.6.43-41.6.43-51.6.44-11.6.44-21.6.44-31.6.45-11.6.46-11.6.46-21.6.46-31.6.46-41.6.47-11.6.47-1.11.6.48-11.6.49-1~exp11.6.50-11.6.50-1~exp11.6.51-11.6.52-11.6.53-11.6.54-11.6.55-11.6.56-11.6.57-11.6.58-11.6.59-1 |
None known |
libpng1.6Debian:13 |
All versions, plus listed versions 1.6.48-11.6.48-1+deb13u11.6.48-1+deb13u21.6.48-1+deb13u31.6.48-1+deb13u4 Show 14 moreShow less1.6.48-1+deb13u51.6.48-1+deb13u61.6.49-1~exp11.6.50-11.6.50-1~exp11.6.51-11.6.52-11.6.53-11.6.54-11.6.55-11.6.56-11.6.57-11.6.58-11.6.59-1 |
None known |
libpng1.6Debian:14 |
All versions, plus listed versions 1.6.48-11.6.49-1~exp11.6.50-11.6.50-1~exp11.6.51-1 Show 8 moreShow less1.6.52-11.6.53-11.6.54-11.6.55-11.6.56-11.6.57-11.6.58-11.6.59-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-4214 is a medium vulnerability (CVSS 5.5) in Libpng, published August 24, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.54%, the 45th percentile. No source names a fixed version.