A crafted PE containing a self-referencing IMAGE_RESOURCE_DIRECTORY, where resource entries point back to the root directory, causes PE-Bear to enter infinite recursion while parsing the resource tree.
This results in the UI freezing and memory usage growing continuously until the process is force-killed or system memory is exhausted.
A binary PoC is attached to reproduce the issue.
SHA-256:a5091fc233e6527430bfbb26ebd5ff3c43b5de1249b80cfd29c117509e95eeff
poc_resource_100entries.zip
A crafted PE containing a self-referencing IMAGE_RESOURCE_DIRECTORY, where resource entries point back to the root directory, causes PE-Bear to enter infinite recursion while parsing the resource tree.
This results in the UI freezing and memory usage growing continuously until the process is force-killed or system memory is exhausted.
A binary PoC is attached to reproduce the issue.
SHA-256:a5091fc233e6527430bfbb26ebd5ff3c43b5de1249b80cfd29c117509e95eeff
poc_resource_100entries.zip