Skip to content
Heist/ feed
Back to feed
High

ImageSharp: TIFF CCITT T4 encoder can write past its compressed output buffer

Type: advisorySources: OSV

ImageSharp is a 2D graphics library. From 2.0.0 until 4.1.2, the TIFF CCITT Group 3 encoder allocates an undersized compressed-data buffer for narrow 1-bit images. TiffCcittCompressor.Initialize does not reserve enough space for the row data and T4 end-of-line codes, and T4BitCompressor.CompressStrip reaches unchecked writes when TiffCompression.CcittGroup3Fax is selected directly or inherited from decoded TIFF metadata. An attacker-controlled encode or decode-and-re-encode flow can write beyond the logical output span, corrupt process memory, and terminate the process. This issue is fixed in version 4.1.2.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-106110
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 00:23 UTC · Revision 1

Source evidence

ImageSharp: TIFF CCITT T4 encoder can write past its compressed output buffer

core-osv · Original source

Published 6 Oct 2026, 17:42 UTC

ImageSharp is a 2D graphics library. From 2.0.0 until 4.1.2, the TIFF CCITT Group 3 encoder allocates an undersized compressed-data buffer for narrow 1-bit images. TiffCcittCompressor.Initialize does not reserve enough space for the row data and T4 end-of-line codes, and T4BitCompressor.CompressStrip reaches unchecked writes when TiffCompression.CcittGroup3Fax is selected directly or inherited from decoded TIFF metadata. An attacker-controlled encode or decode-and-re-encode flow can write beyond the logical output span, corrupt process memory, and terminate the process. This issue is fixed in version 4.1.2.

osv:CVE-2026-106110
Complete source record
{
  "id": "376efd0c85808c4fbb1da51c63d7d33fcd77abbcc37430b3c5da7cfb231d415d",
  "url": "https://osv.dev/vulnerability/CVE-2026-106110",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ImageSharp: TIFF CCITT T4 encoder can write past its compressed output buffer",
    "summary": "ImageSharp is a 2D graphics library. From 2.0.0 until 4.1.2, the TIFF CCITT Group 3 encoder allocates an undersized compressed-data buffer for narrow 1-bit images. TiffCcittCompressor.Initialize does not reserve enough space for the row data and T4 end-of-line codes, and T4BitCompressor.CompressStrip reaches unchecked writes when TiffCompression.CcittGroup3Fax is selected directly or inherited from decoded TIFF metadata. An attacker-controlled encode or decode-and-re-encode flow can write beyond the logical output span, corrupt process memory, and terminate the process. This issue is fixed in version 4.1.2.",
    "evidence": "osv:CVE-2026-106110",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-106110",
      "aliases": [
        "CVE-2026-106110",
        "GHSA-j9gm-c75j-xc9q"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sixlabors/imagesharp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5d6f3893baad0defd9d1a45b31275fedcd6a63e9"
                },
                {
                  "fixed": "baa37cd19077b2a2a0c5667535111cf31d48c019"
                },
                {
                  "introduced": "ff36e83c740e8049574eb468798151e96a176f12"
                },
                {
                  "fixed": "dee414097e4be7bb35ef0209cf96bd0b61a7133a"
                },
                {
                  "fixed": "a9498c6db3642ef92c712ebc81e706914ac16a95"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "3.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.1.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a9498c6db3642ef92c712ebc81e706914ac16a95"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "dee414097e4be7bb35ef0209cf96bd0b61a7133a"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v4.1.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.1.1",
            "v4.1.0",
            "v4.0.0",
            "v3.1.12",
            "v3.1.11",
            "v3.1.10",
            "v3.1.9",
            "v3.1.8",
            "v3.1.7",
            "v3.1.6",
            "v3.1.5",
            "v3.1.4",
            "v3.1.3",
            "v3.1.2",
            "v3.1.1",
            "v3.1.0",
            "v3.0.1",
            "v3.0.0",
            "v2.1.1",
            "v2.1.0",
            "v2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-106110.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.396329612Z",
      "provider": "osv",
      "references": [
        "https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106110.json",
        "https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-j9gm-c75j-xc9q",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-106110",
        "https://github.com/SixLabors/ImageSharp/commit/a9498c6db3642ef92c712ebc81e706914ac16a95",
        "https://github.com/SixLabors/ImageSharp/pull/3187"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-787"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106110.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-106110",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513455,
  "published_at": "2026-10-06T17:42:02.099+00:00"
}