CVE-2026-21488: 
Homebrew vulnerability analysis and mitigation

Overview

CVE-2026-21488 is a set of memory safety vulnerabilities — Out-of-bounds Read (CWE-125), Heap-based Buffer Overflow (CWE-122), and Improper Null Termination (CWE-170) — affecting the CIccTagText::Read function in iccDEV, an open-source library for working with ICC color management profiles maintained by the International Color Consortium. All versions up to and including 2.3.1.1 are affected; the vulnerability was introduced prior to commit 9daaccc (December 22, 2025) and confirmed vulnerable at commit c136aac. The advisory was published on January 6, 2026, with a fix released in version 2.3.1.2. The CVSS v3.1 base score is 7.1 (High) per NVD, and 6.1 (Moderate) per the GitHub Security Advisory (GitHub Advisory, Red Hat CVE).

Technical details

The root cause lies in the CIccTagText::Read function (and related text-reading functions in IccTagBasic.cpp) failing to allocate sufficient buffer space for a null terminator and not ensuring strings are null-terminated after reading from an ICC profile. Specifically, the buffer was allocated as GetBuffer(nSize) rather than GetBuffer(nSize+1), and no null byte was written after the read, leading to improper null termination (CWE-170), potential out-of-bounds reads (CWE-125), and heap-based buffer overflows (CWE-122). The fix (commit 9daaccc) corrects buffer allocation to nSize+1 and explicitly sets m_szText[nSize] = '\0' after reading, across multiple text tag types including CIccTagText, CIccTagUtf8Text, CIccTagUtf16Text, and CIccTagTextDescription. Additionally, integer overflow risks in size calculations (e.g., in CIccTagNamedColor2) were addressed by promoting variables to size_t. Exploitation requires a user to open or process a specially crafted malicious ICC color profile (GitHub Advisory, Patch Commit).

Impact

Successful exploitation can result in application crashes (denial of service) due to heap corruption or invalid memory access, as well as potential leakage of sensitive heap memory contents. The confidentiality impact is rated High (NVD) due to possible memory disclosure, and availability impact is High due to crash potential; integrity is not directly affected. The attack vector is local, meaning the attacker must be able to supply a malicious ICC profile to a user or application that processes it, and user interaction (opening the profile) is required (GitHub Advisory, Red Hat CVE).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of publication (Red Hat CVE). The EPSS score is approximately 0.012% (0.000120), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.

Exploitation steps

  1. Craft a malicious ICC profile: Create a specially crafted ICC color profile file with a text tag (CIccTagText or related) whose size field is set such that the nSize value causes the buffer to be allocated without room for a null terminator, or causes an out-of-bounds read when the string is subsequently used.
  2. Deliver the profile: Place the malicious .icc or .icm file in a location accessible to the target user — e.g., via email attachment, file share, or embedded in a document — since the attack vector is local and requires user interaction.
  3. Trigger processing: Induce the target user to open or process the malicious ICC profile using an application linked against the vulnerable iccDEV library (versions ≤ 2.3.1.1).
  4. Achieve impact: The CIccTagText::Read function reads profile data into an under-sized heap buffer without null termination, triggering a heap-based buffer overflow or out-of-bounds read, resulting in application crash (DoS) or potential memory disclosure (GitHub Advisory, Patch Commit).

Indicators of compromise

  • File System: Presence of unexpected or externally sourced .icc or .icm files in user directories, temp folders, or application data paths.
  • Process: Application crashes or abnormal termination of processes that use the iccDEV library when opening ICC color profiles; crash dumps referencing IccTagBasic.cpp or CIccTagText::Read.
  • Logs: Application error logs showing heap corruption errors, segmentation faults, or access violations originating from iccDEV library functions such as CIccTagText::Read, CIccTagUtf8Text::Read, or CIccTagTextDescription::Read.

Mitigation and workarounds

Upgrade iccDEV to version 2.3.1.2 or later, which includes the fix introduced in commit 9daaccc (December 22, 2025). No workarounds are provided by the vendor. Until patching is complete, restrict processing of untrusted or unknown ICC color profiles, and implement input validation on ICC profile files before they are passed to the library (GitHub Advisory, Patch Commit).

Community reactions

The vulnerability was reported by researcher xsscx and remediated by ChrisCoxArt (Chris Cox), as credited in the GitHub Security Advisory. Red Hat has tracked the CVE in their security database. No significant broader media coverage or notable community commentary beyond standard vulnerability tracking has been identified (GitHub Advisory, Red Hat CVE).

Additional resources


Source: This report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-112390HIGH8.2
  • Python logoPython
  • open-webui
NoYesOct 19, 2026
CVE-2026-14511MEDIUM6.5
  • IBM WebSphere MQ logoIBM WebSphere MQ
  • cpe:2.3:a:ibm:mq
NoNoOct 19, 2026
CVE-2026-112778MEDIUM6.4
  • NixOS logoNixOS
  • traefik
NoYesOct 19, 2026
CVE-2026-112391MEDIUM6.3
  • Python logoPython
  • nemo-gym
NoYesOct 19, 2026
CVE-2026-111678MEDIUM4.8
  • NixOS logoNixOS
  • antiword
NoNoOct 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management