cve.bz

CVE-2024-26540 cimg cimg: Heap-based Buffer Overflow

7.8 highExploit referenceEPSS 0.3%

High (7.8) in cimg cimg. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
A heap-based buffer overflow in Clmg before 3.3.3 can occur via a crafted file to cimg_library::CImg<unsigned char>::_load_analyze.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-08-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-26540 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-26540?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-26540?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-26540 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cimg:cimgbefore 3.3.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12cimgno fix listedDEBIAN-CVE-2024-26540
Debian13, 14cimg3.5.0+dfsg-1DEBIAN-CVE-2024-26540
Ubuntu16.04:LTS, 20.04:LTScimgno fix listedUBUNTU-CVE-2024-26540
UbuntuPro:18.04:LTScimg1.7.9+dfsg-2ubuntu0.18.04.2+esm1UBUNTU-CVE-2024-26540 USN-7437-1
UbuntuPro:22.04:LTScimg2.9.4+dfsg-3ubuntu0.1~esm1UBUNTU-CVE-2024-26540 USN-7437-1
UbuntuPro:24.04:LTScimg3.2.1+dfsg-1ubuntu0.24.04.1~esm1UBUNTU-CVE-2024-26540 USN-7437-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON