Skip to main content

Little CMS (lcms2) CVE-2026-42798

| EUVDEUVD-2026-26351 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-04-30 mitre
4.0
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Craft malicious ICC profile with oversized cube LUT
  2. Delivery
    Embed in document or deliver via file share
  3. Exploit
    User opens file in vulnerable application
  4. Install
    Application calls ParseCube to load LUT
  5. C2
    Integer overflow in lut_size calculation
  6. Execute
    Heap corruption or DoS
  7. Impact
    Information disclosure or service failure

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability requires that an application call the ParseCube function when processing CGATS format color lookup tables or ICC profiles containing cube LUTs with lut_size parameters. Exploitation depends on: (1) the application parsing untrusted ICC color profiles or CGATS files from external sources (not a default behavior for many applications unless explicitly imported), (2) a crafted LUT size value (typically > 65) supplied in the file that causes integer overflow during the lut_size × lut_size × lut_size calculation, (3) the application being linked against lcms2 2.16-2.18. Non-default configurations that increase risk include automatic profile loading from documents, accepting user-supplied profile files, or processing color data from untrusted sources. Default secure configurations (trusted profile sources, sandboxed parsing) substantially limit exploitability.

Impact

CVSS 4.0 with local attack vector (AV:L), high complexity (AC:H), and no privileges required reflects a bounded-risk scenario. The local attack vector means an attacker must already have file system access or ability to feed malicious ICC profile or CGATS files to the application. AC:H (high complexity) suggests exploitation requires specific conditions or careful crafting. CVSS impact shows low confidentiality (C:L) and low availability (A:L) - information disclosure or denial of service rather than remote code execution. This profile suggests exploitation is difficult and impact is limited, making real-world risk lower than the CVSS score initially suggests. The EPSS and KEV status are not provided, so widespread exploitation cannot be confirmed. Given that this affects color profile processing (a specialized workflow in image applications, document readers, and design tools), exploitation likely requires targeted delivery of malicious .icc or .cgats files to vulnerable software. Organizations running systems that do not import ICC profiles from untrusted sources face minimal risk.

Exploit ScenarioDerived

An attacker crafts a malicious ICC color profile or CGATS LUT file with a LUT size value that triggers integer overflow when multiplied in ParseCube (e.g., lut_size = 2^20 on 32-bit systems). A user opens a malicious TIFF, PDF, or PNG image containing the embedded profile in an application linked to vulnerable lcms2 (GIMP, LibreOffice, or Ghostscript). The integer overflow corrupts heap memory or causes a denial of service, or the overflow enables information disclosure from adjacent heap allocations. Exploitation requires the victim to open a file from an untrusted source, making social engineering or drive-by download necessary.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 30, 2026

Integer overflow in Little CMS color engine versions 2.16 through 2.18 allows local attackers to trigger integer overflow in the ParseCube function when processing specially crafted color lookup table (LUT) input files, potentially resulting in buffer overflow and denial of service or information disclosure. The vulnerability affects the CGATS parser used for loading ICC color profiles and LUT data. No public exploit code identified at time of analysis, though upstream fix is available in version 2.19.

RemediationAI

Upgrade lcms2 to version 2.19 or later, which includes input validation in ParseCube that rejects LUT sizes exceeding 65 (matching professional tool limits). For applications embedding lcms2, rebuild against the patched library version. If immediate upgrade is not feasible, mitigate by restricting parsing of ICC profiles and CGATS files to trusted sources: disable automatic ICC profile loading from untrusted documents, validate file sources before processing, and consider sandboxing color profile processing in applications that handle user-supplied documents. These controls trade convenience (automatic color management) for security; assess whether your workflow requires processing profiles from external sources. The upstream fix is confirmed in commit 6a686019825a89b715d16671f18d049523354176 and GitHub release comparison lcms2.18...lcms2.19.

Affected VersionsENISA

little cms color engine 2.16 <2.19

Affected Packages

euvd little_cms_color_engine fix: 2.19

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Little CMS (lcms2) is a color management engine commonly used in image processing applications and document viewers. The ParseCube function in cmscgats.c processes CGATS (Color And Appearance Technology Specification) file format color lookup tables (LUTs). When parsing a cube LUT, the code calculates the total number of nodes as lut_size × lut_size × lut_size without validating that lut_size exceeds safe bounds. On 32-bit systems or with large lut_size values, this multiplication can wrap around, causing integer overflow (CWE-190). The overflow occurs during memory allocation or buffer operations, potentially leading to heap corruption. The vulnerability is rooted in insufficient input validation before arithmetic operations on untrusted data from color profile files.

Know when Little Cms Color Engine gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 4.0 MEDIUM
AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
SUSE 3.1 LOW
AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low

Lifecycle Timeline

3
Patch released
Apr 30, 2026 - 15:48 nvd
Patch available
Patch available
Apr 30, 2026 - 09:01 EUVD
CVE Published
Apr 30, 2026 - 06:34 nvd
MEDIUM 4.0

DescriptionCVE.org

Little CMS (lcms2) 2.16 through 2.18 before 2.19 has an integer overflow in ParseCube in cmscgats.c.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

20
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +20
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Vendor StatusVendor

SUSE

Severity: Low
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Micro 5.3 Fixed
SUSE Linux Enterprise Micro 5.4 Fixed
SUSE Linux Enterprise Micro 5.5 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy