Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-4214
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:56 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-4214
Complete source record
{
"id": "08754c62e3c7fcd7d57ebb5e6ac2cbf958d32a597871a4d6469f422bee8eacc4",
"url": "https://osv.dev/vulnerability/CVE-2021-4214",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-4214",
"summary": "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.",
"evidence": "osv:CVE-2021-4214",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-4214",
"aliases": [
"CVE-2021-4214"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pnggroup/libpng",
"type": "GIT",
"events": [
{
"introduced": "c53778ff53a73ad2d676602f5dc7019566be5058"
},
{
"last_affected": "c53778ff53a73ad2d676602f5dc7019566be5058"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libpng:libpng:1.6.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "1.6.0-NA"
},
{
"last_affected": "1.6.0-NA"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.6.0-NA",
"v1.6.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4214.json"
}
}
],
"modified": "2026-10-24T10:50:43.007673765Z",
"provider": "osv",
"references": [
"https://access.redhat.com/security/cve/CVE-2021-4214",
"https://security-tracker.debian.org/tracker/CVE-2021-4214",
"https://security.netapp.com/advisory/ntap-20221020-0001/",
"https://bugzilla.redhat.com/show_bug.cgi?id=2043393",
"https://github.com/glennrp/libpng/issues/302"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
},
{
"introduced": "11.0"
},
{
"last_affected": "11.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:libpng:libpng:1.6.0:-:*:*:*:*:*:*"
],
"vendor_product": "libpng:libpng",
"extracted_events": [
{
"range": [
{
"introduced": "1.6.0-NA"
},
{
"last_affected": "1.6.0-NA"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-4214",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 442527,
"published_at": "2022-08-24T16:15:10.037+00:00"
}