Description
PoDoFo is a C++17 PDF manipulation library. From 1.0.0 to before 1.0.4, a double-free vulnerability exists in compute_hash_to_sign() in src/podofo/private/OpenSSLInternal_Ripped.cpp. If EVP_DigestFinal fails after buf has already been freed, the Error label frees buf a second time, causing heap corruption. This vulnerability is fixed in 1.0.4.
Problem types
Product status
References
github.com/...podofo/security/advisories/GHSA-8fq6-rqpv-xq72
github.com/...podofo/security/advisories/GHSA-8fq6-rqpv-xq72
github.com/...ommit/696d765c3a71ef224d4abffe1f174fef11292d7e