Description
Poppler through 26.11.0 contains an uncontrolled memory allocation vulnerability in the libcurl-based remote file loader that trusts unvalidated HEAD Content-Length values in CurlCachedFileLoader::init(). Malicious HTTP servers can return an enormous Content-Length so CachedFile resizes its chunk cache accordingly, aborting pdfinfo or PDFDocFactory-based applications with std::bad_alloc for denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| freedesktop | poppler | ≤ 26.11.0 | — |
References
- https://gitlab.freedesktop.org/poppler/poppler/-/work_items/1852 issue-tracking
- https://gitlab.freedesktop.org/poppler/poppler/-/blob/poppler-26.11.0/poppler/CachedFile.cc technical-description
- https://gitlab.freedesktop.org/poppler/poppler/-/blob/poppler-26.11.0/poppler/CurlCachedFile.cc technical-description
- VulnCheck Advisory: Poppler through 26.11.0 Uncontrolled Memory Allocation via Forged HTTP Content-Length third-party-advisory