{"id":"CVE-2026-106115","summary":"ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer","details":"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.","aliases":["GHSA-jjfr-hcj7-qf5w"],"modified":"2026-10-08T02:50:33.229902149Z","published":"2026-10-06T17:50:15.754Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106115.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-787"]},"references":[{"type":"WEB","url":"https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106115.json"},{"type":"ADVISORY","url":"https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-jjfr-hcj7-qf5w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106115"},{"type":"FIX","url":"https://github.com/SixLabors/ImageSharp/commit/a9498c6db3642ef92c712ebc81e706914ac16a95"},{"type":"FIX","url":"https://github.com/SixLabors/ImageSharp/pull/3187"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sixlabors/imagesharp","events":[{"introduced":"136cc143bba2fca255328751dd4580e4f8d413c3"},{"fixed":"a9498c6db3642ef92c712ebc81e706914ac16a95"},{"fixed":"dee414097e4be7bb35ef0209cf96bd0b61a7133a"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"2.1.0"},{"fixed":"4.1.2"}]}}],"versions":["v4.1.1","v4.1.0","v4.0.0","v3.1.0","v3.0.1","v3.0.0","v2.1.1","v2.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-106115.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}