CVE-2026-41254

Little CMS: lcms2: mm2/Little-CMS: Little CMS: Information disclosure or denial of service via integer overflow in CubeSize

Published Apr 18, 2026 CVSS 3.1 · 4 Medium EPSS < 1% KEV · Not listed
Description
Little CMS (lcms2) through 2.18 has an integer overflow in CubeSize in cmslut.c because the overflow check is performed after the multiplication.

Analysis

AI-generated

Technical impact

Little CMS (lcms2) up to version 2.18 contains an integer overflow in the CubeSize function in cmslut.c, because the overflow check is performed after the multiplication. This defect can cause an incorrectly computed size value, leading to memory corruption when the library allocates space for lookup tables. The flaw exhibits characteristics of integer overflow (CWE-190) and improper order of operations (CWE-696).

Affected Systems

The Little CMS Color Engine, specifically all releases up to and including 2.18, is affected. The vulnerability originates from the lcms2 source code and is therefore present in any software that links to this library without an updated version.

Risk and Exploitability

The CVSS score of 4.0 indicates a moderate severity. The EPSS score is less than 1%, indicating a very low exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. The likely attack vector requires an attacker to supply crafted input that reaches the CubeSize routine, such as malicious image data processed by the library. If successfully exploited, the overflow could lead to a denial‑of‑service condition or, in certain contexts, further memory corruption that might be escalated to arbitrary code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Little CMS release that addresses the CubeSize calculation bug; consult the project’s changelog for the applicable patch.
  • If an upgrade is not immediately possible, validate all input parameters that reach the CubeSize routine and enforce bounds checks to prevent excessively large values from being processed.
  • Monitor applications that use Little CMS for abnormal crashes or memory errors, and apply additional hardening such as memory protection mechanisms (ASLR, stack canaries) to reduce the impact of potential exploitation.

Generated by OpenCVE AI on April 20, 2026 at 13:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4568-1 lcms2 security update
Debian DLA Debian DLA DLA-4702-1 openjdk-11 security update
Debian DLA Debian DLA DLA-4703-1 openjdk-17 security update
Debian DSA Debian DSA DSA-6262-1 lcms2 security update
Debian DSA Debian DSA DSA-6425-1 openjdk-21 security update
Debian DSA Debian DSA DSA-6431-1 openjdk-25 security update
Ubuntu USN Ubuntu USN USN-8209-2 Little CMS vulnerability
Ubuntu USN Ubuntu USN USN-8209-1 Little CMS vulnerability
Ubuntu USN Ubuntu USN USN-8681-1 OpenJDK 25 vulnerabilities
Ubuntu USN Ubuntu USN USN-8689-1 OpenJDK 26 vulnerabilities
History
Type Values Removed Values Added
First Time appeared Littlecms little Cms
CPEs cpe:2.3:a:littlecms:little_cms:*:*:*:*:*:*:*:*
Vendors & Products Littlecms little Cms
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Little CMS: lcms2: mm2/Little-CMS: Little CMS: Information disclosure or denial of service via integer overflow in CubeSize
Weaknesses CWE-190
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Description Little CMS (lcms2) through 2.18 has an integer overflow in CubeSize in cmslut.c because the overflow check is performed after the multiplication.
First Time appeared Littlecms
Littlecms little Cms Color Engine
Weaknesses CWE-696
CPEs cpe:2.3:a:littlecms:little_cms_color_engine:*:*:*:*:*:*:*:*
Vendors & Products Littlecms
Littlecms little Cms Color Engine
References
Metrics cvssV3_1

{'score': 4, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L'}

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

  • CWE-696

    Incorrect Behavior Order

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 7, 2026, 5:33 PM
Reserved
Apr 18, 2026, 6:43 AM
Status
Modified
Published
Apr 18, 2026, 7:16 AM
Modified
Oct 26, 2026, 9:10 PM
Severity
Moderate
Public date
Apr 18, 2026, 6:43 AM