Out-of-bounds Write Affecting cimg package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.56% (67th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-CIMG-1136799
  • published7 Apr 2025
  • disclosed3 Dec 2020

Introduced: 3 Dec 2020

CVE-2020-25693  (opens in a new tab)
CWE-787  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 cimg.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cimg package and not the cimg package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1