Skip to content
Heist/ feed
Back to feed
Medium

iccDEV has a heap out-of-bounds read in CTiffImg::ReadLine()

Type: advisorySources: OSV

iccDEV provides a set of libraries and tools for working with ICC color management profiles. Prior to 2.3.1.5, there is a heap out-of-bounds read in CTiffImg::ReadLine() when iccApplyProfiles processes a crafted TIFF image, causing memory disclosure or crash. This vulnerability is fixed in 2.3.1.5.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-31797
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 06:01 UTC · Revision 1

Source evidence

iccDEV has a heap out-of-bounds read in CTiffImg::ReadLine()

core-osv · Original source

Published 10 Mar 2026, 18:06 UTC

iccDEV provides a set of libraries and tools for working with ICC color management profiles. Prior to 2.3.1.5, there is a heap out-of-bounds read in CTiffImg::ReadLine() when iccApplyProfiles processes a crafted TIFF image, causing memory disclosure or crash. This vulnerability is fixed in 2.3.1.5.

osv:CVE-2026-31797
Complete source record
{
  "id": "d86afb102cc16dfb1c80528dcb858c4a00341ae3dd0d44790a148db5ad90150a",
  "url": "https://osv.dev/vulnerability/CVE-2026-31797",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "iccDEV has a heap out-of-bounds read in CTiffImg::ReadLine()",
    "summary": "iccDEV provides a set of libraries and tools for working with ICC color management profiles. Prior to 2.3.1.5, there is a heap out-of-bounds read in CTiffImg::ReadLine() when iccApplyProfiles processes a crafted TIFF image, causing memory disclosure or crash. This vulnerability is fixed in 2.3.1.5.",
    "evidence": "osv:CVE-2026-31797",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-31797",
      "aliases": [
        "CVE-2026-31797",
        "GHSA-wh2p-cm3r-7hm3"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/internationalcolorconsortium/iccdev",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1ffa7a8df60c01b7ac86c5c5bdfe31cfdb7bb2c0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.3.1.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1ffa7a8df60c01b7ac86c5c5bdfe31cfdb7bb2c0"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.3.1.5"
                  },
                  {
                    "cpe": "cpe:2.3:a:color:iccdev:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.3.1.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.3.1.4",
            "v2.3.1.3",
            "v2.3.1.2",
            "v2.3.1.1",
            "v2.3.1",
            "v2.2.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31797.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.491663270Z",
      "provider": "osv",
      "references": [
        "https://github.com/InternationalColorConsortium/iccDEV/releases/tag/v2.3.1.5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31797.json",
        "https://github.com/InternationalColorConsortium/iccDEV/security/advisories/GHSA-wh2p-cm3r-7hm3",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-31797",
        "https://github.com/InternationalColorConsortium/iccDEV/issues/656",
        "https://github.com/InternationalColorConsortium/iccDEV/pull/659"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-125",
          "CWE-787"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31797.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-31797",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492912,
  "published_at": "2026-03-10T18:06:12.92+00:00"
}