High
Security advisory
A flaw was found in CImg in versions prior to 2.9.3. Integer overflows leading to heap buffer overflows in load_pnm() can be triggered by a specially crafted input file processed by CImg, which can lead to an impact to application availability or data integrity.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-25693
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:36 UTC · Revision 1
Source evidence
A flaw was found in CImg in versions prior to 2.9.3. Integer overflows leading to heap buffer overflows in load_pnm() can be triggered by a specially crafted input file processed by CImg, which can lead to an impact to application availability or data integrity.
osv:CVE-2020-25693
Complete source record
{
"id": "7cddb53133bd4d51b0cd5e9a04a7ae90c9f5fd4afafd3a3fffc4ab047a37fe1e",
"url": "https://osv.dev/vulnerability/CVE-2020-25693",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-25693",
"summary": "A flaw was found in CImg in versions prior to 2.9.3. Integer overflows leading to heap buffer overflows in load_pnm() can be triggered by a specially crafted input file processed by CImg, which can lead to an impact to application availability or data integrity.",
"evidence": "osv:CVE-2020-25693",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-25693",
"aliases": [
"CVE-2020-25693"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/GreycLab/CImg",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "16f1e3a93453ce750e56e9b78f0b8560bf35028c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cimg:cimg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.9.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v.2.9.2",
"v.2.9.1",
"v.2.9.0",
"v.2.8.4",
"v.2.8.3",
"v.2.8.2",
"v.2.8.1",
"v.2.8.0",
"v.2.7.5",
"v.2.7.4",
"v.2.7.3",
"v.2.7.2",
"v.2.7.1",
"v.2.7.0",
"v.2.6.7",
"v.2.6.6",
"v.2.6.5",
"v.2.6.4",
"v.2.6.3",
"v.2.6.2",
"v.2.6.1",
"v.2.6.0",
"v.2.5.7",
"v.2.5.6",
"v.2.5.5",
"v.2.5.4",
"v.2.5.3",
"v.2.5.2",
"v.2.5.1",
"v.2.5.0",
"v.2.4.5",
"v.2.4.4",
"v.2.4.3",
"v.2.4.2",
"v.2.4.1",
"v.2.4.0",
"v.2.3.6",
"v.2.3.5",
"v.2.3.4",
"v.2.3.3",
"v.2.3.2",
"v.2.3.1",
"v.2.3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25693.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/greyclab/cimg",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "16f1e3a93453ce750e56e9b78f0b8560bf35028c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cimg:cimg:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.9.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v.2.9.2",
"v.2.9.1",
"v.2.9.0",
"v.2.8.4",
"v.2.8.3",
"v.2.8.2",
"v.2.8.1",
"v.2.8.0",
"v.2.7.5",
"v.2.7.4",
"v.2.7.3",
"v.2.7.2",
"v.2.7.1",
"v.2.7.0",
"v.2.6.7",
"v.2.6.6",
"v.2.6.5",
"v.2.6.4",
"v.2.6.3",
"v.2.6.2",
"v.2.6.1",
"v.2.6.0",
"v.2.5.7",
"v.2.5.6",
"v.2.5.5",
"v.2.5.4",
"v.2.5.3",
"v.2.5.2",
"v.2.5.1",
"v.2.5.0",
"v.2.4.5",
"v.2.4.4",
"v.2.4.3",
"v.2.4.2",
"v.2.4.1",
"v.2.4.0",
"v.2.3.6",
"v.2.3.5",
"v.2.3.4",
"v.2.3.3",
"v.2.3.2",
"v.2.3.1",
"v.2.3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25693.json"
}
}
],
"modified": "2026-10-24T10:30:55.522209737Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ERBZALTF7LXN2LZLPGAUSVMV53GHHTUC/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MJ5Q7NNUPXATTBUKHFKIYYAV5GJDYCZL/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QZ3NPLYXZWEL7HETIFZVCXEZZ2WYYRWA/",
"https://bugzilla.redhat.com/show_bug.cgi?id=1893377"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "32"
},
{
"last_affected": "32"
},
{
"introduced": "33"
},
{
"last_affected": "33"
},
{
"introduced": "34"
},
{
"last_affected": "34"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-25693",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438438,
"published_at": "2020-12-03T17:15:12.567+00:00"
}