🛡️ CVE-2026-47667 on Ubuntu — cimg
Description
CImg Library is a C++ library for image processing. Prior to version 4.0.0 in _load_analyze(), the header_size field is read as an unsigned int from the first 4 bytes of an Analyze/NIfTI file and passed directly to new unsigned char[header_size] without being bounded against the actual file size. A value up to ~4 GB is accepted. If the subsequent fread returns short as it will for any malformed file), the function throws a CImgIOException and the allocated buffer is never freed. A 6-byte crafted file is sufficient to trigger an allocation of ~1.3 GB per call, with the full allocation leaked on every error path. The issue is reachable via load_analyze() and the generic load() when the file extension is .hdr, .img, or .nii. Version 4.0.0 fixes the issue.
Distribution advisory
This page covers CVE-2026-47667 as tracked by Ubuntu, for the package cimg. No fixed version has been recorded for this distribution yet.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Affected software
UBUNTU-CVE-2026-47667 is recorded against 1 package.
- cimg
Timeline and source
Published on 21 July 2026 and last revised on 29 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
ubuntu.com (Report)
www.cve.org (Report)
github.com (Report)
github.com (Report)
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| cimg | — | — |
References
Similar Threats
- Unknown DEBIAN-CVE-2026-47667
- Unknown DEBIAN-CVE-2026-42144
- Unknown DEBIAN-CVE-2026-42146
- Unknown UBUNTU-CVE-2026-42144
- Unknown UBUNTU-CVE-2026-42146
More UBUNTU CVE 2026 advisories
Browse all of UBUNTU CVE 2026 in the advisory index.
- UBUNTU-CVE-2026-47333
- UBUNTU-CVE-2026-47334
- UBUNTU-CVE-2026-47335
- UBUNTU-CVE-2026-47336
- UBUNTU-CVE-2026-47337
- UBUNTU-CVE-2026-47372
- UBUNTU-CVE-2026-47373
- UBUNTU-CVE-2026-47423
- UBUNTU-CVE-2026-47691
- UBUNTU-CVE-2026-47709
- UBUNTU-CVE-2026-47712
- UBUNTU-CVE-2026-47714
- UBUNTU-CVE-2026-47729
- UBUNTU-CVE-2026-47730
- UBUNTU-CVE-2026-47732
- UBUNTU-CVE-2026-47734
Site Security Check
Is cimg part of your stack?
UBUNTU-CVE-2026-47667 is rated CVSS 7.5 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.