cecil icon indicating copy to clipboard operation
cecil copied to clipboard

Loading an assembly causes ModuleDefinition.ReadModule to crash the process with a StackOverflowException.

Open AdvDebug opened this issue 9 months ago • 0 comments

Hey, i found an issue when parsing with ModuleDefinition.ReadModule using this assembly which causes the parser to throw StackOverflowException which will also cause the whole process to crash.

you can reproduce the same issue by doing this:

  1. Extract the zip file and get the dll inside

  2. Try to parse the assembly with the following code:

ModuleDefinition.ReadModule(path_to_dll, new ReaderParameters(ReadingMode.Immediate));

and the process will crash.

Found via BinarySploit Framework, the fuzzing component. (A project i'm still working on)

AdvDebug avatar May 21 '25 20:05 AdvDebug