DEBIAN-CVE-2026-42144

Source
https://security-tracker.debian.org/tracker/CVE-2026-42144
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42144.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-42144
Upstream
Published
2026-05-04T18:16:31Z
Modified
2026-09-14T17:03:36Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H CVSS Calculator
Summary
[none]
Details

CImg Library is a C++ library for image processing. Prior to commit 4ca26bc, there is an integer overflow vulnerability in the WHD size computation inside _load_pnm() that can bypass the memory allocation guard. A crafted PNM/PGM/PPM file with large dimension values causes the overflow to wrap around, allocating an undersized buffer and potentially triggering a heap buffer overflow. Any application using CImg to load untrusted image files is affected. This issue has been patched via commit 4ca26bc.

References

Affected packages

Debian:12 / cimg

Package

Name
cimg
Purl
pkg:deb/debian/cimg?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.2.1+dfsg-1
3.2.1+dfsg-2
3.5.0+dfsg-1
3.5.2+dfsg-1
3.5.2+dfsg-2
4.*
4.0.4+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42144.json"

Debian:13 / cimg

Package

Name
cimg
Purl
pkg:deb/debian/cimg?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.5.2+dfsg-1+deb13u1

Affected versions

3.*
3.5.2+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42144.json"

Debian:14 / cimg

Package

Name
cimg
Purl
pkg:deb/debian/cimg?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.5.2+dfsg-2

Affected versions

3.*
3.5.2+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42144.json"