Every CVE Search/ Get API key

CVE-2020-25693

A flaw was found in CImg in versions prior to 2.9.3. Integer overflows leading to heap buffer...

8.1 HighFix available

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

1.48%Up 1.1 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS 2.0
5.8 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
cimg
Debian:12
before 2.9.4+dfsg-2
2.9.4+dfsg-2
cimg
Debian:13
before 2.9.4+dfsg-2
2.9.4+dfsg-2
cimg
Debian:14
before 2.9.4+dfsg-2
2.9.4+dfsg-2
cimg
Debian: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
cimg
Mageia:7
before 2.5.7-1.1.mga7
2.5.7-1.1.mga7
cimg
Ubuntu:20.04:LTS
All versions, plus listed versions
2.4.5+dfsg-1
None known

History

History
RecordedChangedSources
aliases, productsEUVD
first indexedCVE 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

Show 10 moreShow less
MoveEnter Open