CVE & CISA-KEV Catalog

CVE-2024-26540

HIGH
7.8
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
cimgDebian
Fixed in:3.5.0+dfsg-1CVE-2024-26540
Fixed in:3.5.0+dfsg-1CVE-2024-26540
cimgUbuntu
Fixed in:1.7.9+dfsg-2ubuntu0.18.04.2+esm1USN-7437-1
Fixed in:2.9.4+dfsg-3ubuntu0.1~esm1USN-7437-1
Fixed in:3.2.1+dfsg-1ubuntu0.24.04.1~esm1USN-7437-1
cimg-devUbuntu
Fixed in:1.7.9+dfsg-2ubuntu0.18.04.2+esm1USN-7437-1
Fixed in:2.9.4+dfsg-3ubuntu0.1~esm1USN-7437-1
Fixed in:3.2.1+dfsg-1ubuntu0.24.04.1~esm1USN-7437-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

0.31%probability of exploitation in 30 days
23rdpercentile

Low risk: more likely to be exploited than 23% of all known CVEs.

References

Exploit1

Related Vulnerabilities

Other CWE-122 (Heap-based Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-3113Critical9.8100%KEVFix
CVE-2024-26256High7.888%-Fix
CVE-2020-25687Medium5.987%-Fix
CVE-2009-3459High8.886%KEVFix
CVE-2021-21017High8.886%KEV-
CVE-2020-25683Medium5.986%-Fix
Embed a live status badge for CVE-2024-26540
CVE-2024-26540 severity badge

Markdown

[![CVE-2024-26540](https://tridentstack.com/cve/badge/CVE-2024-26540.svg)](https://tridentstack.com/cve/CVE-2024-26540)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-26540"><img src="https://tridentstack.com/cve/badge/CVE-2024-26540.svg" alt="CVE-2024-26540"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-06-10.