
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-21693 is a Type Confusion vulnerability in the iccDEV library's CIccSegmentedCurveXml::ToXml() function, located at IccXML/IccLibXML/IccMpeXml.cpp:976:49. It affects all iccDEV versions prior to 2.3.1.2 and was reported on December 30, 2025, with a patch merged on January 4, 2026, and the CVE published on January 7, 2026. The vulnerability carries a CVSS v3.1 base score of 8.8 (High) (GitHub Advisory, Feedly).
The root cause is a type confusion (CWE-843) in CIccSegmentedCurveXml::ToXml(), where a pointer to a base class object (CIccFormulaCurveSegment) is incorrectly accessed as if it were a derived class (CIccFormulaCurveSegmentXml) — a form of type punning rather than proper casting. This is compounded by improper input validation (CWE-20), incorrect numeric type conversion (CWE-681), and insufficient checks for exceptional conditions (CWE-754). The fix, implemented in PR #432, introduces proper copy constructors to convert base class instances to child class instances instead of relying on unsafe type casting (GitHub Issue #389, GitHub PR #432). The vulnerability is triggered when processing a specially crafted ICC color profile through the iccToXml tool or any application using the iccDEV library.
Successful exploitation enables arbitrary code execution with the privileges of the user or process handling the malicious ICC color profile, resulting in high confidentiality, integrity, and availability impact. An attacker who can deliver a crafted ICC profile to a victim (e.g., via a malicious file download or embedded in a document) can achieve full compromise of the affected system. The attack requires user interaction but has low complexity and no privilege requirements, making it a realistic threat for any application that processes ICC color profiles using the vulnerable library (GitHub Advisory, Feedly).
A proof-of-concept demonstrating the type confusion behavior is publicly available via GitHub Issue #389, which includes a reproducer using the iccToXml tool with a crafted XML/ICC file (GitHub Issue #389). There is no evidence of active in-the-wild exploitation at this time, and no threat actor attribution has been reported. The EPSS score is approximately 0.055% (very low probability of exploitation in the near term) (Feedly). The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
srgbCalc++Test.xml from the iccDEV test suite) that contains a segmented curve element designed to trigger the type confusion — specifically, a CIccFormulaCurveSegment object that will be incorrectly accessed as CIccFormulaCurveSegmentXml during XML serialization.iccToXml malicious.icc output.xml or using any application that calls CIccSegmentedCurveXml::ToXml().CIccFormulaCurveSegment object at IccMpeXml.cpp:976:49 using the incompatible CIccFormulaCurveSegmentXml type, resulting in undefined behavior (UBSan-detected runtime error) that can be leveraged for arbitrary code execution..icc or .xml ICC profile files in user download directories or temporary folders; ICC profiles with unusual segmented curve structures.IccXML/IccLibXML/IccMpeXml.cpp:976 in application logs.runtime error: member call on address which does not point to an object of type 'CIccFormulaCurveSegmentXml' or SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior IccXML/IccLibXML/IccMpeXml.cpp:976:49.Upgrade iccDEV to version 2.3.1.2 or later, which contains the fix introduced in PR #432 (merged January 4, 2026). The patch replaces unsafe type punning with proper copy constructors that safely convert base class instances to derived XML class instances. No workarounds are available — patching is the only mitigation. Organizations should also consider restricting the processing of ICC color profiles from untrusted sources as a defense-in-depth measure until patching is complete (GitHub Advisory, GitHub PR #432).
The vulnerability received brief coverage on security-focused social media platforms including Mastodon (via @TheHackerWire and @thehackerwire) and Bluesky shortly after publication in January 2026. CISA included it in their weekly vulnerability bulletin (SB26-012) for the week of January 5, 2026. Community reaction was limited given the specialized nature of the iccDEV library and the absence of active exploitation (Feedly).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."