Integer Overflow or Wraparound Affecting lcms2 package, versions <0:2.19-75.amzn2023.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-LCMS2-17410282
  • published23 Jun 2026
  • disclosed30 Apr 2026

Introduced: 30 Apr 2026

CVE-2026-42798  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 lcms2 to version 0:2.19-75.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-1657.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lcms2 package and not the lcms2 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1