PoDoFo: Double-free vulnerability in compute_hash_to_sign()
podofo
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| podofo podofo |
| No fix yet |
Original 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.
From the CVE record · GitHub_M