Sixlabors
Monthly
Heap corruption and process termination in SixLabors ImageSharp 3.0.0 through 4.1.0 can be triggered by decoding a crafted tiled TIFF that uses CCITT fax compression (T4, T6, or Modified Huffman) with a TileWidth smaller than ImageWidth. Because DestinationBuffer is sized by TileWidth while TiffDecompressorsFactory.Create instantiates the fax decompressor with the full frame width, attacker-controlled scanlines overflow the tile buffer, producing out-of-bounds writes and CWE-787 heap corruption. The flaw is remotely reachable, requires no authentication or user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5), and is scored availability-only. No public exploit code has been identified at time of analysis, and the issue is fixed in version 4.1.1.
Heap buffer overflow in SixLabors ImageSharp (all versions from 3.0.0 up to but excluding 4.1.1) is triggered when the library decodes a strip-organized TIFF file that uses CCITT Group 3 (T4) or Modified Huffman compression: attacker-controlled run lengths are written into the strip buffer before the current row width is validated, corrupting heap memory and terminating the host process. Exploitation is remote and requires no authentication or user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), but the realistic outcome is denial of service - a crash - rather than data disclosure or modification, and no public exploit code was identified at time of analysis. The issue is fixed in ImageSharp 4.1.1 via the vendor advisory GHSA-jj3q-cwqj-842r and pull request #3176.
Out-of-bounds heap writes in the ImageSharp TIFF CCITT Group 4 (T6) fax encoder, affecting versions 2.1.0 through 4.1.1, allow attacker-supplied image data to corrupt memory and terminate the process. The encoder allocates only Width × rowsPerStrip bytes for a strip while T6BitCompressor.CompressStrip can emit encoded row data plus two 12-bit end-of-facsimile-block codes beyond that capacity, and TiffCcittCompressor.WriteCode performs the writes without bounds checks; a decode-and-re-encode flow that inherits TiffCompression.CcittGroup4Fax and one-bit bilevel metadata from the input reaches this path, giving unauthenticated remote attackers a denial-of-service primitive (CVSS 7.5, AV:N/AC:L/PR:N/UI:N, C:N/I:N/A:H). Impact is confined to availability - no confidentiality or integrity effect - and there is no public exploit code identified at time of analysis and no CISA KEV listing; the issue is fixed in version 4.1.2.
Denial of service in SixLabors ImageSharp (2.0.0 up to but not including 4.1.2) lets a remote, unauthenticated attacker terminate an image-processing process by supplying a crafted 32-bit floating-point TIFF. The attack only succeeds when the consuming application decodes that TIFF into an Image<HalfVector4> and then applies the global HistogramEqualization processor, at which point a non-finite or out-of-range BT.709 luminance value is consumed as an unchecked histogram offset in GrayscaleLevelsRowOperation.Invoke, producing an out-of-bounds access (CWE-787) and process termination. Impact is availability-only (CVSS 7.5, C:N/I:N/A:H); Adaptive Histogram Equalization and AutoLevel are explicitly unaffected, and no public exploit code or CISA KEV listing was identified at time of analysis.
Memory corruption in SixLabors ImageSharp 4.0.0 through 4.1.1 allows an unauthenticated remote attacker to crash or destabilize a host process by supplying an image whose embedded ICC profile declares more than four LUT16 input/output channels, causing out-of-bounds writes past a four-float internal buffer. The flaw is only reachable when an application has explicitly set DecoderOptions.ColorProfileHandling to Convert, since the default Preserve mode does not run ICC conversion; the independent assessment scores it CVSS 3.1 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), reflecting an availability-only impact rather than data disclosure or modification. No public exploit code was identified at time of analysis, and the issue is fixed in version 4.1.2.
TIFF encoding in SixLabors ImageSharp 2.0.0 through 4.1.1 can write past the end of an undersized compressed-data buffer when CCITT Group 3 fax compression is used on narrow 1-bit images, corrupting process memory and typically terminating the process. The flaw is reachable by remote, unauthenticated attackers (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) only when the host application either explicitly selects TiffCompression.CcittGroup3Fax during encoding or inherits that compression setting from attacker-supplied TIFF metadata in a decode-and-re-encode flow; the impact is limited to availability (denial of service), with no confidentiality or integrity loss assessed. No public exploit code or confirmed active exploitation was identified at time of analysis, and the vendor has released a fixed version, 4.1.2.
Malformed 64-bit BigTIFF input can pin a single ImageSharp decoder thread in an unbounded loop, causing sustained CPU consumption in applications that decode untrusted images with SixLabors ImageSharp versions 2.0.0 through 4.1.1. The root cause is that ExifReader.ReadValues64 trusts the 64-bit BigTIFF IFD entry count and iterates once per declared entry, while ExifReader.ReadValue64 returns without advancing the stream or terminating the outer loop when fewer than 20 bytes remain, so a small crafted file keeps one decoder thread spinning for an attacker-controlled duration. The advisory explicitly does not claim worker-pool or thread-pool exhaustion, so the practical effect is degradation rather than a complete denial of service; a fix is available in version 4.1.2, and no public exploit code or confirmed active exploitation was identified at time of analysis.
ICC profile parsing in SixLabors ImageSharp (1.0.0-beta0001 through before 4.1.2) trusts attacker-declared CLUT channel and grid dimensions when sizing allocations, so a short truncated color profile can force oversized memory allocation from a tiny input - a medium-severity memory-pressure and input-validation failure (CVSS 5.3, CWE-789). Two paths exist: the public IccProfile.Entries parsing path, reachable regardless of configuration, and in version 4 the conversion path through IccDataReader.ReadClutF32, which is only reached when DecoderOptions.ColorProfileHandling is explicitly set to Convert - the default Preserve mode does not trigger it. Unauthenticated remote attackers (CVSS PR:N/UI:N) can trigger it by getting a vulnerable application to decode a crafted image; there is confirmed actively exploited status absent (no CISA KEV entry) and no public exploit identified at time of analysis, but the exploit is conceptually simple since it requires only a malformed, truncated profile rather than a memory-corruption primitive. The demonstrated impact is bounded to memory pressure and input-validation failure, not unhandled process termination or code execution, and the vendor-released patch is version 4.1.2.
Information disclosure in SixLabors ImageSharp 4.0.0 through 4.1.1 allows an attacker who supplies a crafted OpenEXR image to leak process-local memory contents into decoded pixel output, making this a genuine but moderate-priority confidentiality flaw rather than an urgent patch-now emergency. The bug lives in EXR ZIP/ZIPS decompression, where the inflate result can be shorter than the block size the decoder expects; the decoder then reads the full expected block from a pooled buffer obtained through Configuration.Default, so bytes left over from an earlier completed ImageSharp operation can surface in the decoded image. Exploitation requires the host application to decode an attacker-supplied EXR and expose the resulting pixels or output back to that attacker, is unauthenticated (PR:N) with no user interaction (UI:N), but is rated hard to exploit (AC:H) because the attacker cannot control or predict the residual buffer contents; no public exploit code was identified at time of analysis and fixed in 4.1.2.
ImageSharp is a 2D graphics API. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.
ImageSharp is a 2D graphics API. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
ImageSharp is a 2D graphics API. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Out-of-bounds Write vulnerability could allow attackers to write data beyond allocated buffer boundaries leading to code execution or crashes.
ImageSharp is a 2D graphics API. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
ImageSharp is a 2D graphics API. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
ImageSharp is a managed, cross-platform, 2D graphics library. Rated high severity (CVSS 7.1), this vulnerability is no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
Heap corruption and process termination in SixLabors ImageSharp 3.0.0 through 4.1.0 can be triggered by decoding a crafted tiled TIFF that uses CCITT fax compression (T4, T6, or Modified Huffman) with a TileWidth smaller than ImageWidth. Because DestinationBuffer is sized by TileWidth while TiffDecompressorsFactory.Create instantiates the fax decompressor with the full frame width, attacker-controlled scanlines overflow the tile buffer, producing out-of-bounds writes and CWE-787 heap corruption. The flaw is remotely reachable, requires no authentication or user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5), and is scored availability-only. No public exploit code has been identified at time of analysis, and the issue is fixed in version 4.1.1.
Heap buffer overflow in SixLabors ImageSharp (all versions from 3.0.0 up to but excluding 4.1.1) is triggered when the library decodes a strip-organized TIFF file that uses CCITT Group 3 (T4) or Modified Huffman compression: attacker-controlled run lengths are written into the strip buffer before the current row width is validated, corrupting heap memory and terminating the host process. Exploitation is remote and requires no authentication or user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), but the realistic outcome is denial of service - a crash - rather than data disclosure or modification, and no public exploit code was identified at time of analysis. The issue is fixed in ImageSharp 4.1.1 via the vendor advisory GHSA-jj3q-cwqj-842r and pull request #3176.
Out-of-bounds heap writes in the ImageSharp TIFF CCITT Group 4 (T6) fax encoder, affecting versions 2.1.0 through 4.1.1, allow attacker-supplied image data to corrupt memory and terminate the process. The encoder allocates only Width × rowsPerStrip bytes for a strip while T6BitCompressor.CompressStrip can emit encoded row data plus two 12-bit end-of-facsimile-block codes beyond that capacity, and TiffCcittCompressor.WriteCode performs the writes without bounds checks; a decode-and-re-encode flow that inherits TiffCompression.CcittGroup4Fax and one-bit bilevel metadata from the input reaches this path, giving unauthenticated remote attackers a denial-of-service primitive (CVSS 7.5, AV:N/AC:L/PR:N/UI:N, C:N/I:N/A:H). Impact is confined to availability - no confidentiality or integrity effect - and there is no public exploit code identified at time of analysis and no CISA KEV listing; the issue is fixed in version 4.1.2.
Denial of service in SixLabors ImageSharp (2.0.0 up to but not including 4.1.2) lets a remote, unauthenticated attacker terminate an image-processing process by supplying a crafted 32-bit floating-point TIFF. The attack only succeeds when the consuming application decodes that TIFF into an Image<HalfVector4> and then applies the global HistogramEqualization processor, at which point a non-finite or out-of-range BT.709 luminance value is consumed as an unchecked histogram offset in GrayscaleLevelsRowOperation.Invoke, producing an out-of-bounds access (CWE-787) and process termination. Impact is availability-only (CVSS 7.5, C:N/I:N/A:H); Adaptive Histogram Equalization and AutoLevel are explicitly unaffected, and no public exploit code or CISA KEV listing was identified at time of analysis.
Memory corruption in SixLabors ImageSharp 4.0.0 through 4.1.1 allows an unauthenticated remote attacker to crash or destabilize a host process by supplying an image whose embedded ICC profile declares more than four LUT16 input/output channels, causing out-of-bounds writes past a four-float internal buffer. The flaw is only reachable when an application has explicitly set DecoderOptions.ColorProfileHandling to Convert, since the default Preserve mode does not run ICC conversion; the independent assessment scores it CVSS 3.1 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), reflecting an availability-only impact rather than data disclosure or modification. No public exploit code was identified at time of analysis, and the issue is fixed in version 4.1.2.
TIFF encoding in SixLabors ImageSharp 2.0.0 through 4.1.1 can write past the end of an undersized compressed-data buffer when CCITT Group 3 fax compression is used on narrow 1-bit images, corrupting process memory and typically terminating the process. The flaw is reachable by remote, unauthenticated attackers (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) only when the host application either explicitly selects TiffCompression.CcittGroup3Fax during encoding or inherits that compression setting from attacker-supplied TIFF metadata in a decode-and-re-encode flow; the impact is limited to availability (denial of service), with no confidentiality or integrity loss assessed. No public exploit code or confirmed active exploitation was identified at time of analysis, and the vendor has released a fixed version, 4.1.2.
Malformed 64-bit BigTIFF input can pin a single ImageSharp decoder thread in an unbounded loop, causing sustained CPU consumption in applications that decode untrusted images with SixLabors ImageSharp versions 2.0.0 through 4.1.1. The root cause is that ExifReader.ReadValues64 trusts the 64-bit BigTIFF IFD entry count and iterates once per declared entry, while ExifReader.ReadValue64 returns without advancing the stream or terminating the outer loop when fewer than 20 bytes remain, so a small crafted file keeps one decoder thread spinning for an attacker-controlled duration. The advisory explicitly does not claim worker-pool or thread-pool exhaustion, so the practical effect is degradation rather than a complete denial of service; a fix is available in version 4.1.2, and no public exploit code or confirmed active exploitation was identified at time of analysis.
ICC profile parsing in SixLabors ImageSharp (1.0.0-beta0001 through before 4.1.2) trusts attacker-declared CLUT channel and grid dimensions when sizing allocations, so a short truncated color profile can force oversized memory allocation from a tiny input - a medium-severity memory-pressure and input-validation failure (CVSS 5.3, CWE-789). Two paths exist: the public IccProfile.Entries parsing path, reachable regardless of configuration, and in version 4 the conversion path through IccDataReader.ReadClutF32, which is only reached when DecoderOptions.ColorProfileHandling is explicitly set to Convert - the default Preserve mode does not trigger it. Unauthenticated remote attackers (CVSS PR:N/UI:N) can trigger it by getting a vulnerable application to decode a crafted image; there is confirmed actively exploited status absent (no CISA KEV entry) and no public exploit identified at time of analysis, but the exploit is conceptually simple since it requires only a malformed, truncated profile rather than a memory-corruption primitive. The demonstrated impact is bounded to memory pressure and input-validation failure, not unhandled process termination or code execution, and the vendor-released patch is version 4.1.2.
Information disclosure in SixLabors ImageSharp 4.0.0 through 4.1.1 allows an attacker who supplies a crafted OpenEXR image to leak process-local memory contents into decoded pixel output, making this a genuine but moderate-priority confidentiality flaw rather than an urgent patch-now emergency. The bug lives in EXR ZIP/ZIPS decompression, where the inflate result can be shorter than the block size the decoder expects; the decoder then reads the full expected block from a pooled buffer obtained through Configuration.Default, so bytes left over from an earlier completed ImageSharp operation can surface in the decoded image. Exploitation requires the host application to decode an attacker-supplied EXR and expose the resulting pixels or output back to that attacker, is unauthenticated (PR:N) with no user interaction (UI:N), but is rated hard to exploit (AC:H) because the attacker cannot control or predict the residual buffer contents; no public exploit code was identified at time of analysis and fixed in 4.1.2.
ImageSharp is a 2D graphics API. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.
ImageSharp is a 2D graphics API. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
ImageSharp is a 2D graphics API. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Out-of-bounds Write vulnerability could allow attackers to write data beyond allocated buffer boundaries leading to code execution or crashes.
ImageSharp is a 2D graphics API. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
ImageSharp is a 2D graphics API. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
ImageSharp is a managed, cross-platform, 2D graphics library. Rated high severity (CVSS 7.1), this vulnerability is no authentication required, low attack complexity. Public exploit code available and no vendor patch available.