ImageSharp is a 2D graphics library. From 2.1.0 until 4.1.2, the TIFF CCITT Group 4 encoder allocates Width times rowsPerStrip bytes even though T6BitCompressor.CompressStrip can emit encoded row data and two 12-bit end-of-facsimile-block codes beyond that capacity. TiffCcittCompressor.WriteCode performs unchecked writes, and a decode-and-re-encode flow can inherit TiffCompression.CcittGroup4Fax and one-bit metadata from attacker-supplied input. The resulting out-of-bounds writes can corrupt memory and terminate the process. This issue is fixed in version 4.1.2.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106115.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "2.1.0"
},
{
"fixed": "4.1.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "a9498c6db3642ef92c712ebc81e706914ac16a95"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v4.1.2",
"range": [
{
"fixed": "dee414097e4be7bb35ef0209cf96bd0b61a7133a"
}
],
"source": "REFERENCES_TAG"
}
]
}