iccDEV: HBO in icAnsiToUtf8()
InternationalColorConsortium iccDEV
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| InternationalColorConsortium iccDEV |
| No fix yet |
Original description
iccDEV provides a set of libraries and tools for working with ICC color management profiles. Prior to version 2.3.1.6, there is a heap-buffer-overflow (HBO) in icAnsiToUtf8() in the XML conversion path. The issue is triggered by a crafted ICC profile which causes icAnsiToUtf8(std::string&, char const*) to treat an input buffer as a C-string and call operations that rely on strlen()/null-termination. AddressSanitizer reports an out-of-bounds READ of size 115 past a 114-byte heap allocation, with the failure observed while running the iccToXml tool. This issue has been patched in version 2.3.1.6.
From the CVE record · GitHub_M