Security Vulnerability Report
中文
CVE-2026-21680 CVSS 6.5 MEDIUM

CVE-2026-21680

Published: 2026-01-07 18:15:55
Last Modified: 2026-01-09 21:34:55

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 NULL pointer dereference vulnerability. 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
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/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
// CVE-2026-21680 NULL Pointer Dereference PoC // Target: iccDEV library < 2.3.1.2 // This PoC demonstrates triggering NULL pointer dereference by crafting malicious ICC profile #include <stdio.h> #include <stdlib.h> #include <string.h> // Simulated ICC profile structure typedef struct { char* profile_header; char* tag_table; void* malicious_tag_data; // NULL pointer trigger int profile_size; } ICC_Profile; // Function that triggers NULL pointer dereference void process_icc_tag(ICC_Profile* profile, int tag_index) { // Vulnerable code: dereferencing without NULL check void* tag_data = profile->malicious_tag_data; // May be NULL // This will cause NULL pointer dereference if tag_data is NULL memcpy(tag_data, "malicious_data", 14); // Crash here if NULL } // Craft malicious ICC profile to trigger vulnerability ICC_Profile* craft_malicious_icc_profile() { ICC_Profile* profile = (ICC_Profile*)malloc(sizeof(ICC_Profile)); if (profile == NULL) return NULL; memset(profile, 0, sizeof(ICC_Profile)); // Initialize all fields to NULL/0 // Set up profile structure but leave tag_data as NULL profile->profile_header = (char*)malloc(128); profile->tag_table = (char*)malloc(256); profile->malicious_tag_data = NULL; // NULL pointer that will be dereferenced profile->profile_size = 384; return profile; } int main() { printf("CVE-2026-21680 PoC - iccDEV NULL Pointer Dereference\n"); printf("Attempting to trigger vulnerability...\n"); ICC_Profile* malicious_profile = craft_malicious_icc_profile(); if (malicious_profile) { // Trigger the NULL pointer dereference process_icc_tag(malicious_profile, 0); } return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-21680", "sourceIdentifier": "[email protected]", "published": "2026-01-07T18:15:55.290", "lastModified": "2026-01-09T21:34:54.593", "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 NULL pointer dereference vulnerability. 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 una vulnerabilidad de desreferencia de puntero NULL. 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:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 3.6}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-476"}]}], "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/322", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/pull/325", "source": "[email protected]", "tags": ["Issue Tracking"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/security/advisories/GHSA-mgp7-w4w3-mhx4", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}