CVE-2020-25693
A flaw was found in CImg in versions prior to 2.9.3. Integer overflows leading to heap buffer...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.1
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.
- Record
CVE-2020-25693- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:P - Weakness
- CWE-190, CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-25693- Weakness
- CWE-190
- Updated
- 2026-11-02
EUVDEUVD-2020-18354 No score
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.
- Record
EUVD-2020-18354- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vp99-jwhh-r3xw No score
A flaw was found in CImg in versions prior to 2.9.3. Integer overflows leading to heap buffer...
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.
- Record
GHSA-vp99-jwhh-r3xw- Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
8.1
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.
- Record
CVE-2020-25693- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-25693
8.1
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.
- Record
DEBIAN-CVE-2020-25693- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-25693
8.1
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.
- Record
UBUNTU-CVE-2020-25693- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2020-0443 No score
Updated cimg packages fix a security vulnerability
Multiple heap buffer overflows. (CVE-2020-25693)
- Record
MGASA-2020-0443- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cimgDebian:12 |
before 2.9.4+dfsg-2 | 2.9.4+dfsg-2 |
cimgDebian:13 |
before 2.9.4+dfsg-2 | 2.9.4+dfsg-2 |
cimgDebian:14 |
before 2.9.4+dfsg-2 | 2.9.4+dfsg-2 |
cimgDebian:9 |
before 1.7.9+dfsg-1+deb9u2, plus listed versions 1.7.9+dfsg-11.7.9+dfsg-1+deb9u1 |
1.7.9+dfsg-1+deb9u2 |
cimgMageia:7 |
before 2.5.7-1.1.mga7 | 2.5.7-1.1.mga7 |
cimgUbuntu:20.04:LTS |
All versions, plus listed versions 2.4.5+dfsg-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-2020-25693 is a high vulnerability (CVSS 8.1) in Cimg, published November 23, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.48%, the 73rd percentile. Fixed in cimg 2.9.4+dfsg-2.
References
bugzilla.redhat.com/show_bug.cgi?id=1893377
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MJ5Q7NNUPXATTBUKHFKIYYAV5GJDYCZL
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QZ3NPLYXZWEL7HETIFZVCXEZZ2WYYRWA
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ERBZALTF7LXN2LZLPGAUSVMV53GHHTUC
nvd.nist.gov/vuln/detail/CVE-2020-25693
lists.fedoraproject.org/archives/list/[email protected]/message/ERBZALTF7LXN2LZLPGAUSVMV53GHHTUC
Show 10 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/MJ5Q7NNUPXATTBUKHFKIYYAV5GJDYCZL
lists.fedoraproject.org/archives/list/[email protected]/message/QZ3NPLYXZWEL7HETIFZVCXEZZ2WYYRWA
github.com/advisories/GHSA-vp99-jwhh-r3xw
security-tracker.debian.org/tracker/CVE-2020-25693
advisories.mageia.org/MGASA-2020-0443.html
bugs.mageia.org/show_bug.cgi?id=27651
debian.org/lts/security/2020/dla-2462
ubuntu.com/security/CVE-2020-25693
github.com/dtschump/CImg/pull/295
cve.org/CVERecord?id=CVE-2020-25693