CVE-2022-26730 | ColorSync | Hoyt LLC
A memory corruption issue existed in the processing of ICC profiles in Apple ColorSync, which could lead to arbitrary code execution when processing a maliciously crafted image. The issue was addressed with improved input validation in macOS Ventura 13.
Published on srd.cx
CVE-2022-26730 | ColorSync | aka Profile Bleed A memory corruption issue existed in the processing of ICC profiles. This issue was addressed with improved input validation.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a lack of proper input validation in the CMMLutTag::InitializeCurveTable function when parsing curve parameters in ICC profiles, leading to memory corruption.
Impact
Processing a maliciously crafted image may lead to arbitrary code execution.
What the attacker needed
Victim opens a malicious image or ICC profile
The fix
The issue was addressed with improved input validation.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
ICC profiles are files that describe how colours should be displayed on screens and printers. A memory corruption bug means the software can be tricked into reading or writing memory it should not, which can crash the app or let an attacker run their own code. Here, a specially crafted colour profile could cause such corruption when opened.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.