libpng1.6 vulnerabilities
It was discovered that the libpng simplified API incorrectly processed palette PNG images with partial transparency and gamma correction. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. (CVE-2025-66293) Petr Simecek, Stanislav Fort and Pavel Kohout discovered that the libpng simplified API incorrectly processed interlaced 16-bit PNGs with 8-bit output format and non-minimal row strides. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. (CVE-2026-22695) Cosmin Truta discovered that the libpng simplified API incorrectly handled invalid row strides. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2026-22801) It was discovered that the libpng simplified API incorrectly handled quantizing RGB images. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. (CVE-2026-25646)
- Products
- libpng1.6
- Affected versions
- 1.6.20-2, 1.6.20-2ubuntu0.1~esm1, 1.6.20-2ubuntu0.1~esm2, 1.6.34-1, 1.6.34-1ubuntu0.18.04.1, 1.6.34-1ubuntu0.18.04.2, 1.6.34-1ubuntu0.18.04.2+esm1, 1.6.37-1, 1.6.37-2, 1.6.37-2ubuntu0.1~esm1
- Fixed versions
- 1.6.20-2ubuntu0.1~esm3, 1.6.34-1ubuntu0.18.04.2+esm2, 1.6.37-2ubuntu0.1~esm2
- CVEs
- CVE-2025-66293, CVE-2026-22695, CVE-2026-22801, CVE-2026-25646
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:16 UTC · Revision 1
Source evidence
It was discovered that the libpng simplified API incorrectly processed palette PNG images with partial transparency and gamma correction. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. (CVE-2025-66293) Petr Simecek, Stanislav Fort and Pavel Kohout discovered that the libpng simplified API incorrectly processed interlaced 16-bit PNGs with 8-bit output format and non-minimal row strides. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. (CVE-2026-22695) Cosmin Truta discovered that the libpng simplified API incorrectly handled invalid row strides. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2026-22801) It was discovered that the libpng simplified API incorrectly handled quantizing RGB images. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. (CVE-2026-25646)
osv:USN-8035-1
libpng1.6
Fixed versions: 1.6.20-2ubuntu0.1~esm3
libpng1.6
Fixed versions: 1.6.34-1ubuntu0.18.04.2+esm2
libpng1.6
Fixed versions: 1.6.37-2ubuntu0.1~esm2
Complete source record
{
"id": "25bc006de0aa4b31faa8ef9bf2516ee640e077f72a44b8d8ca084c1f2118eb6a",
"url": "https://osv.dev/vulnerability/USN-8035-1",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "libpng1.6 vulnerabilities",
"summary": "It was discovered that the libpng simplified API incorrectly processed palette PNG images with partial transparency and gamma correction. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. (CVE-2025-66293) Petr Simecek, Stanislav Fort and Pavel Kohout discovered that the libpng simplified API incorrectly processed interlaced 16-bit PNGs with 8-bit output format and non-minimal row strides. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. (CVE-2026-22695) Cosmin Truta discovered that the libpng simplified API incorrectly handled invalid row strides. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2026-22801) It was discovered that the libpng simplified API incorrectly handled quantizing RGB images. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. (CVE-2026-25646)",
"evidence": "osv:USN-8035-1",
"products": [
{
"name": {
"value": "libpng1.6",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.6.20-2ubuntu0.1~esm3",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "1.6.20-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.6.20-2ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
},
{
"value": "1.6.20-2ubuntu0.1~esm2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libpng1.6",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.6.34-1ubuntu0.18.04.2+esm2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "1.6.34-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.6.34-1ubuntu0.18.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "1.6.34-1ubuntu0.18.04.2",
"evidence": "/affected/1/versions"
},
{
"value": "1.6.34-1ubuntu0.18.04.2+esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libpng1.6",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.6.37-2ubuntu0.1~esm2",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "1.6.37-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.6.37-2",
"evidence": "/affected/2/versions"
},
{
"value": "1.6.37-2ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "USN-8035-1",
"aliases": [
"USN-8035-1"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.20-2ubuntu0.1~esm3"
}
]
}
],
"package": {
"name": "libpng1.6",
"purl": "pkg:deb/ubuntu/libpng1.6?arch=source&distro=esm-apps%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"1.6.20-2",
"1.6.20-2ubuntu0.1~esm1",
"1.6.20-2ubuntu0.1~esm2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8035-1.json",
"cves_map": {
"cves": [
{
"id": "CVE-2025-66293",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
},
{
"id": "CVE-2026-22695",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
},
{
"id": "CVE-2026-25646",
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
],
"ecosystem": "Ubuntu:Pro:16.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libpng16-16",
"binary_version": "1.6.20-2ubuntu0.1~esm3"
},
{
"binary_name": "libpng16-devtools",
"binary_version": "1.6.20-2ubuntu0.1~esm3"
},
{
"binary_name": "libpng16-tools",
"binary_version": "1.6.20-2ubuntu0.1~esm3"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.34-1ubuntu0.18.04.2+esm2"
}
]
}
],
"package": {
"name": "libpng1.6",
"purl": "pkg:deb/ubuntu/libpng1.6?arch=source&distro=esm-infra%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"1.6.34-1",
"1.6.34-1ubuntu0.18.04.1",
"1.6.34-1ubuntu0.18.04.2",
"1.6.34-1ubuntu0.18.04.2+esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8035-1.json",
"cves_map": {
"cves": [
{
"id": "CVE-2025-66293",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
},
{
"id": "CVE-2026-22695",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
},
{
"id": "CVE-2026-22801",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
},
{
"id": "CVE-2026-25646",
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
],
"ecosystem": "Ubuntu:Pro:18.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libpng-tools",
"binary_version": "1.6.34-1ubuntu0.18.04.2+esm2"
},
{
"binary_name": "libpng16-16",
"binary_version": "1.6.34-1ubuntu0.18.04.2+esm2"
}
],
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.37-2ubuntu0.1~esm2"
}
]
}
],
"package": {
"name": "libpng1.6",
"purl": "pkg:deb/ubuntu/libpng1.6?arch=source&distro=esm-infra%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"1.6.37-1",
"1.6.37-2",
"1.6.37-2ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8035-1.json",
"cves_map": {
"cves": [
{
"id": "CVE-2025-66293",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
},
{
"id": "CVE-2026-22695",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
},
{
"id": "CVE-2026-22801",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
},
{
"id": "CVE-2026-25646",
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
],
"ecosystem": "Ubuntu:Pro:20.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libpng-tools",
"binary_version": "1.6.37-2ubuntu0.1~esm2"
},
{
"binary_name": "libpng16-16",
"binary_version": "1.6.37-2ubuntu0.1~esm2"
}
],
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}
}
],
"modified": "2026-10-27T04:16:47.634716773Z",
"provider": "osv",
"upstream": [
"CVE-2025-66293",
"CVE-2026-22695",
"CVE-2026-22801",
"CVE-2026-25646",
"UBUNTU-CVE-2025-66293",
"UBUNTU-CVE-2026-22695",
"UBUNTU-CVE-2026-22801",
"UBUNTU-CVE-2026-25646"
],
"references": [
"https://ubuntu.com/security/notices/USN-8035-1",
"https://ubuntu.com/security/CVE-2025-66293",
"https://ubuntu.com/security/CVE-2026-22695",
"https://ubuntu.com/security/CVE-2026-22801",
"https://ubuntu.com/security/CVE-2026-25646"
]
},
"related_cves": [
{
"value": "CVE-2025-66293",
"evidence": "/upstream"
},
{
"value": "CVE-2026-22695",
"evidence": "/upstream"
},
{
"value": "CVE-2026-22801",
"evidence": "/upstream"
},
{
"value": "CVE-2026-25646",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 460203,
"published_at": "2026-02-12T13:37:00+00:00"
}