SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder.HuffmanTable.HuffmanTable(SixLabors.Memory.MemoryAllocator memoryAllocator, System.ReadOnlySpan<byte> codeLengths, System.ReadOnlySpan<byte> values = "System.ReadOnlySpan<Byte>[1034377664]") Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Formats.Jpeg.JpegDecoderCore.ProcessDefineHuffmanTablesMarker(int remaining = 21) Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Formats.Jpeg.JpegDecoderCore.ParseStream(System.IO.Stream stream, bool metadataOnly = false) Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Formats.Jpeg.JpegDecoderCore.Decode<SixLabors.ImageSharp.PixelFormats.Rgba32>(System.IO.Stream stream) Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Formats.Jpeg.JpegDecoder.Decode<SixLabors.ImageSharp.PixelFormats.Rgba32>(SixLabors.ImageSharp.Configuration configuration, System.IO.Stream stream) Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Image.Decode<SixLabors.ImageSharp.PixelFormats.Rgba32>(System.IO.Stream stream, SixLabors.ImageSharp.Configuration config) Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Image.WithSeekableStream<System.ValueTuple<System.__Canon, System.__Canon>>(SixLabors.ImageSharp.Configuration config, System.IO.Stream stream, System.Func<System.IO.Stream, (System.__Canon, System.__Canon)> action) Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Image.Load<SixLabors.ImageSharp.PixelFormats.Rgba32>(SixLabors.ImageSharp.Configuration config, System.IO.Stream stream, out SixLabors.ImageSharp.Formats.IImageFormat format = null) Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Image.Load<SixLabors.ImageSharp.PixelFormats.Rgba32>(SixLabors.ImageSharp.Configuration config, byte[] data) Unknown
Prerequisites
DEBUGandRELEASEmodeDescription
Image.Load throws AccessViolationException when loading malformed JPG file.
Steps to Reproduce
Run the following code snippet with the
pathvariable containing the path to the file from the attached archive:You will get the following stack trace:
System Configuration
Found via SharpFuzz.