35 matches found
ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer
Summary The TIFF CCITT Group 4 T6 encoder writes beyond its logical compressed-data buffer when encoding a 1-bit image. A valid 1×1 Group 4 TIFF decoded and re-encoded with the default TiffEncoder terminates the process with an unhandled exception. Affected package and versions - Package:...
GHSA-JJFR-HCJ7-QF5W ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer
Summary The TIFF CCITT Group 4 T6 encoder writes beyond its logical compressed-data buffer when encoding a 1-bit image. A valid 1×1 Group 4 TIFF decoded and re-encoded with the default TiffEncoder terminates the process with an unhandled exception. Affected package and versions - Package:...
Out-of-bounds Write
Overview Affected versions of this package are vulnerable to Out-of-bounds Write in the TIFF CCITT Group 4 T6 encoding process. An attacker can cause process termination and denial of service by supplying a specially crafted 1x1 Group 4 TIFF image that, when decoded and re-encoded, triggers...
Sensitive Information in Resource Not Removed Before Reuse
Overview Affected versions of this package are vulnerable to Sensitive Information in Resource Not Removed Before Reuse in the ExrDecoderCore process when handling ZIP-compressed OpenEXR images. An attacker can access sensitive memory contents from prior operations by submitting a crafted image...
GHSA-4Q3P-RJ5X-XV7P ImageSharp: EXR ZIP decoder can expose stale allocator data after a short inflate
Summary A crafted ZIP-compressed OpenEXR image can return stale memory from a prior ImageSharp operation as decoded pixels. The ZIP decoder accepts a non-empty inflate result shorter than the EXR block's required size, then the EXR decoder reads the full expected block. This is a process-local,...
ImageSharp: EXR ZIP decoder can expose stale allocator data after a short inflate
Summary A crafted ZIP-compressed OpenEXR image can return stale memory from a prior ImageSharp operation as decoded pixels. The ZIP decoder accepts a non-empty inflate result shorter than the EXR block's required size, then the EXR decoder reads the full expected block. This is a process-local,...
ImageSharp: ICC LUT16 output channel count can write beyond Vector4
Summary When ICC conversion is enabled, a malformed embedded ICC LUT16 profile with more than four output channels can corrupt memory during ImageSharp color conversion. The ICC parser accepts up to 15 CLUT output channels, while the conversion implementation stores intermediate values in Vector4...
GHSA-FFP7-56PQ-64MR ImageSharp: ICC LUT16 output channel count can write beyond Vector4
Summary When ICC conversion is enabled, a malformed embedded ICC LUT16 profile with more than four output channels can corrupt memory during ImageSharp color conversion. The ICC parser accepts up to 15 CLUT output channels, while the conversion implementation stores intermediate values in Vector4...
Out-of-bounds Write
Overview Affected versions of this package are vulnerable to Out-of-bounds Write in the ICC color profile conversion process when handling a malformed embedded ICC LUT16 profile with more than four output channels. An attacker can cause memory corruption and application termination by supplying a...
Infinite loop
Overview Affected versions of this package are vulnerable to Infinite loop through the ReadValues64 process. An attacker can cause the decoder to enter a non-progressing loop by supplying a crafted BigTIFF file with a large IFD entry count, resulting in excessive resource consumption and potentia...
GHSA-WMXV-XPHR-5C9G ImageSharp: BigTIFF IFD count can keep a decoder thread in a non-progressing loop
Summary SixLabors.ImageSharp 4.1.1 can spend an attacker-controlled duration decoding a small malformed BigTIFF. The BigTIFF IFD entry-count field is 64-bit. The reader iterates once per declared entry, but when fewer than 20 bytes remain for an entry, the entry read returns without advancing. A...
ImageSharp: BigTIFF IFD count can keep a decoder thread in a non-progressing loop
Summary SixLabors.ImageSharp 4.1.1 can spend an attacker-controlled duration decoding a small malformed BigTIFF. The BigTIFF IFD entry-count field is 64-bit. The reader iterates once per declared entry, but when fewer than 20 bytes remain for an entry, the entry read returns without advancing. A...
ImageSharp: TIFF CCITT T4 encoder can write past its compressed output buffer
Summary ImageSharp's TIFF CCITT Group 3 T4 encoder can write beyond its allocated compressed-data buffer when encoding narrow 1-bit images. The unchecked writes can corrupt process memory and terminate the process. This report concerns only the T4 CcittGroup3Fax encoder path. It replaces the prio...
GHSA-J9GM-C75J-XC9Q ImageSharp: TIFF CCITT T4 encoder can write past its compressed output buffer
Summary ImageSharp's TIFF CCITT Group 3 T4 encoder can write beyond its allocated compressed-data buffer when encoding narrow 1-bit images. The unchecked writes can corrupt process memory and terminate the process. This report concerns only the T4 CcittGroup3Fax encoder path. It replaces the prio...
Out-of-bounds Write
Overview Affected versions of this package are vulnerable to Out-of-bounds Write in the TIFF CCITT Group 3 T4 encoding process. An attacker can cause memory corruption and terminate the process by providing specially crafted 1-bit image data with narrow width and a large number of rows, leading t...
ImageSharp: HistogramEqualization uses an unvalidated luminance as an unchecked histogram index
Summary SixLabors.ImageSharp can terminate a process when an application decodes an attacker-supplied 32-bit floating-point TIFF as Image and applies HistogramEqualization. An IEEE positive-infinity TIFF sample reaches a non-finite or otherwise out-of-range HalfVector4 component, depending on the...
Out-of-bounds Write
Overview Affected versions of this package are vulnerable to Out-of-bounds Write through the HistogramEqualization process. An attacker can cause the application to terminate unexpectedly by supplying a specially crafted 32-bit floating-point TIFF image with non-finite values, which leads to an...
GHSA-J3P4-WP97-RPH4 ImageSharp: HistogramEqualization uses an unvalidated luminance as an unchecked histogram index
Summary SixLabors.ImageSharp can terminate a process when an application decodes an attacker-supplied 32-bit floating-point TIFF as Image and applies HistogramEqualization. An IEEE positive-infinity TIFF sample reaches a non-finite or otherwise out-of-range HalfVector4 component, depending on the...
GHSA-GWG2-R3HJ-4W44 ImageSharp: ICC CLUT parsing allocates from unvalidated channel and grid dimensions
Summary A malformed embedded ICC profile can make ImageSharp allocate memory from attacker-controlled CLUT channel and grid dimensions before verifying that the declared CLUT values are present. In published v1 through v3 packages, the public lazy ICC parser allocates approximately 115 MB from th...
ImageSharp: ICC CLUT parsing allocates from unvalidated channel and grid dimensions
Summary A malformed embedded ICC profile can make ImageSharp allocate memory from attacker-controlled CLUT channel and grid dimensions before verifying that the declared CLUT values are present. In published v1 through v3 packages, the public lazy ICC parser allocates approximately 115 MB from th...