CVE-2025-29070

7.5 HIGH

📋 TL;DR

A heap buffer overflow vulnerability exists in the smooth2() function of lcms2-2.16's cmsgamma.c file. This could allow remote attackers to cause denial of service by crashing applications using the vulnerable library. The supplier disputes exploitability, stating this function is only used for low-level programming and investigation.

💻 Affected Systems

Products:
  • Little CMS (lcms2)
Versions: lcms2-2.16
Operating Systems: All platforms running vulnerable lcms2 library
Default Config Vulnerable: ✅ No
Notes: Vulnerability only triggers when smooth2() function is called, which supplier claims doesn't happen in normal color management operations

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to complete system compromise, though disputed by supplier

🟠

Likely Case

Denial of service through application crashes when processing malicious color profiles

🟢

If Mitigated

No impact if the vulnerable function is not called in normal operation

🌐 Internet-Facing: MEDIUM - Applications processing untrusted color profiles from external sources could be vulnerable
🏢 Internal Only: LOW - Limited to specific color management operations with disputed exploitability

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: NO
Unauthenticated Exploit: ⚠️ Yes
Complexity: HIGH

Supplier disputes exploitability, stating the vulnerable function is never called in normal operations. No known exploits in the wild.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: lcms2-2.17 or later

Vendor Advisory: https://github.com/mm2/Little-CMS/issues/475

Restart Required: Yes

Instructions:

1. Check current lcms2 version
2. Update to lcms2-2.17 or later
3. Rebuild applications using lcms2
4. Restart affected services

🔧 Temporary Workarounds

Disable smooth2 function usage

all

Configure applications to avoid calling the vulnerable smooth2() function

Application-specific configuration required

🧯 If You Can't Patch

  • Isolate systems using lcms2 from untrusted input sources
  • Implement strict input validation for color profile files

🔍 How to Verify

Check if Vulnerable:

Check lcms2 library version: lcms2-config --version or check package manager

Check Version:

lcms2-config --version

Verify Fix Applied:

Verify version is 2.17 or higher: lcms2-config --version | grep -q '^2\.1[7-9]\|^[3-9]'

📡 Detection & Monitoring

Log Indicators:

  • Application crashes with segmentation faults
  • Memory corruption errors in application logs

Network Indicators:

  • Unusual color profile file transfers to vulnerable systems

SIEM Query:

source="application_logs" AND ("segmentation fault" OR "heap corruption") AND process="*lcms*"

🔗 References

📤 Share & Export