You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce the errors, simply run the given binary with the testcase files with a command like ./inchi_input_fuzzer /path_to_testcases/input
The program has been tested on the standard Docker image provided on OSS-Fuzz using Ubuntu 20.04, providing AFL++ as fuzzing engine and build flag --sanitizer=address.
The hash commit used to perform the tests is 8477339.
Environment
OS: Linux
Version/Distribution: Ubuntu 20.04
Architecture: x86_64
The text was updated successfully, but these errors were encountered:
Hi @skorpion98,
Thank you for creating this issue.
All the above mentioned bugs/vulnerabilities along with the newly opened Google oss-fuzz issues will be addressed in forthcoming version(s) of InChI.
BTW, we have started using AFL++ on Ubuntu 22.04 LTS only recently, but please feel free to track down any bug/security issue which might have been overlooked at our end.
Hi @skorpion98,
The above stated issues have been addressed in InChI v1.07.2, which has now been uploaded to rwth branch.
Please feel free to let me know if you have any further suggestions.
Summary
In function
ParseSegmentFormula()
, an invalid value is being used assize
for an allocation throughcalloc()
.InChI/INCHI-1-SRC/INCHI_BASE/src/ichiread.c
Line 9967 in 8477339
ASan output
Steps to reproduce
In the following archive, you will find
To reproduce the errors, simply run the given binary with the testcase files with a command like
./inchi_input_fuzzer /path_to_testcases/input
The program has been tested on the standard Docker image provided on OSS-Fuzz using Ubuntu 20.04, providing AFL++ as fuzzing engine and build flag
--sanitizer=address
.The hash commit used to perform the tests is
8477339
.Environment
The text was updated successfully, but these errors were encountered: