Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| podofo / podofo | affected >= 1.0.0, < 1.0.4 |
CWE
CWE-415
References
- https://github.com/podofo/podofo/security/advisories/GHSA-8fq6-rqpv-xq72
- https://github.com/podofo/podofo/commit/696d765c3a71ef224d4abffe1f174fef11292d7e
ADP enrichment
No English description supplied.