New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buffer overflow in print_basic_hash() #116

jwilk opened this Issue Jul 17, 2017 · 1 comment


None yet
2 participants

jwilk commented Jul 17, 2017

print_basic_hash() declares the output buffer as:

char hash_value[EVP_MAX_MD_SIZE * 2 + 1];

With the current OpenSSL versions, EVP_MAX_MD_SIZE * 2 + 1 is 129.
However, fuzzy_hash_buf() requires an output buffer of size FUZZY_MAX_RESULT, which is 148.

jweyrich added a commit to jweyrich/pev that referenced this issue Jul 17, 2017

@jweyrich jweyrich closed this Jul 17, 2017

@jweyrich jweyrich added this to the v0.81 milestone Jul 17, 2017


This comment has been minimized.

Show comment
Hide comment

jweyrich Jul 18, 2017


Hopefully my commit did fix it. Thanks for reporting it!


jweyrich commented Jul 18, 2017

Hopefully my commit did fix it. Thanks for reporting it!

@jweyrich jweyrich self-assigned this Jul 18, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment