mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-04 05:35:49 +00:00
[Bug] Infinite Memory Leak when scanning certain .exe file #204
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mills5 on GitHub (Sep 11, 2025).
Originally assigned to: @mnadareski on GitHub.
I was scanning a directory with ProtectionScan when it hung on a 30MB .exe file. I was away from my computer for a few minutes, when I came back ProtectionScan.exe was using 56GB of RAM and increasing.
File in question (slightly too big for github, sorry):
https://www.urazawa.com/other/startup.exe.zip
Steps To Reproduce
@Deterous commented on GitHub (Sep 11, 2025):
Can you confirm that you were using the "rolling release" build here: https://github.com/SabreTools/BinaryObjectScanner/releases/tag/rolling
A lot has changed since the last release, this is likely an issue fixed since then.
@mills5 commented on GitHub (Sep 11, 2025):
Yes, I was using the rolling release build.
This issue occurs only on the 64-bit build, the 32-bit build successfully checks the file.
@mnadareski commented on GitHub (Sep 11, 2025):
The 32-bit build fails internally which is why it "successfully checks". This is an edge-case executable that has a partially-malformed table that was being parsed as correct.
@mnadareski commented on GitHub (Sep 12, 2025):
I was able to fix the root cause in a dependent library. Once that new version gets into BOS, I'll close this issue.
@mnadareski commented on GitHub (Sep 20, 2025):
Serialization library has been updated, this should be fixed in rolling release.