Skip to main content

CVE-2026-106117: CWE-787: Out-of-bounds Write in SixLabors ImageSharp

0
High
VulnerabilityCVE-2026-106117cvecve-2026-106117cwe-787
Published: 10/06/2026 (10/06/2026, 17:53:46 UTC)
Source: CVE Database V5
Vendor/Project: SixLabors
Product: ImageSharp

Description

ImageSharp is a 2D graphics library. From 3.0.0 until 4.1.1, decoding a strip TIFF using CCITT Group 3 or Modified Huffman compression can pass attacker-expanded runs to BitWriterUtils.WriteBits without first checking the current row width. T4TiffCompression.WritePixelRun can accumulate oversized makeup-code runs, and ModifiedHuffmanTiffCompression.Decompress validates the width only after writing. The unchecked writes can overflow the strip buffer, corrupt heap memory, and terminate the process. This strip-path vulnerability is distinct from the tiled decompressor-width mismatch. This issue is fixed in version 4.1.1.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

SixLabors

ImageSharp

Affected versions
>=3.0.0 <4.1.1
SixLabors/imagesharp
pkg:nuget/SixLabors/imagesharp
Affected versions
>=3.0.0 <4.1.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/06/2026, 18:18:26 UTC

Technical Analysis

CVE-2026-106117 is an out-of-bounds write vulnerability (CWE-787) in the SixLabors ImageSharp 2D graphics library affecting versions from 3.0.0 to before 4.1.1. The issue arises during decoding of strip TIFF images compressed with CCITT Group 3 or Modified Huffman compression. Specifically, the BitWriterUtils.WriteBits method can receive attacker-expanded runs without verifying the current row width first. The T4TiffCompression.WritePixelRun method can accumulate oversized makeup-code runs, and ModifiedHuffmanTiffCompression.Decompress only validates the width after writing. This unchecked write leads to buffer overflow in the strip buffer, resulting in heap corruption and process termination. This vulnerability is distinct from other tiled decompressor-width mismatch issues. The vendor fixed this vulnerability in ImageSharp version 4.1.1.

Potential Impact

Successful exploitation can cause heap memory corruption and termination of the affected process, leading to denial of service. There is no indication of confidentiality or integrity impact. The CVSS v3.1 score is 7.5 (High) with network attack vector, low attack complexity, no privileges or user interaction required, and impact limited to availability.

Mitigation Recommendations

Upgrade to SixLabors ImageSharp version 4.1.1 or later, where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory. Patch status is confirmed fixed in 4.1.1.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-06T15:33:55.333Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ac538122cdf04f656cddde5

Added to database: 10/06/2026, 18:04:02 UTC

Last enriched: 10/06/2026, 18:18:26 UTC

Last updated: 10/06/2026, 19:04:17 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses