VYPR
Unrated severityNVD Advisory· Published Sep 18, 2019· Updated Aug 4, 2024

CVE-2019-5066

CVE-2019-5066

Description

An exploitable use-after-free vulnerability exists in the way LZW-compressed streams are processed in Aspose.PDF 19.2 for C++. A specially crafted PDF can cause a dangling heap pointer, resulting in a use-after-free condition. To trigger this vulnerability, a specifically crafted PDF document needs to be processed by the target application.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Use-after-free in Aspose.PDF 19.2 for C++ when processing LZW-compressed streams with a malformed Predictor value, leading to potential code execution.

Vulnerability

A use-after-free vulnerability exists in Aspose.PDF 19.2 for C++ when processing LZW-compressed streams. The issue occurs in the LZWDecode filter when a malformed Predictor value (e.g., a negative integer) is provided in the DecodeParms dictionary. The PDF specification expects only positive values for Predictor in LZWDecode; a negative value causes the LZW compression object to be freed prematurely, but a dangling pointer remains. This dangling pointer is later used, leading to a use-after-free condition. Affected version: Aspose.PDF 19.2 for C++ [1].

Exploitation

An attacker can exploit this vulnerability by crafting a PDF document containing a stream with an LZWDecode filter and a DecodeParms dictionary that sets Predictor to a negative value. The victim must open or process the malicious PDF using an application that relies on Aspose.PDF 19.2 for C++. No authentication or user interaction beyond opening the file is required. The attack vector is network-based (remote) with low complexity [1].

Impact

Successful exploitation results in a use-after-free condition, which can lead to arbitrary code execution in the context of the application using the library. Given the CVSSv3 score of 9.8 (Critical), the impact on confidentiality, integrity, and availability is high. An attacker could potentially gain full control of the affected system [1].

Mitigation

As of the publication date (2019-09-18), no patch has been released. The vendor, Aspose, was notified and the vulnerability was disclosed by Cisco Talos. Users should monitor for updates from Aspose and apply any fixed version when available. No workaround is documented. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog as of the knowledge cutoff [1].

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.