VYPR
Unrated severityNVD Advisory· Published Jul 21, 2021· Updated Aug 4, 2024

CVE-2020-19472

CVE-2020-19472

Description

An issue has been found in function DCTStream::readHuffSym in PDF2JSON 0.70 that allows attackers to cause a Denial of Service due to an invalid read of size 2 .

AI Insight

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

An invalid read of size 2 in DCTStream::readHuffSym in PDF2JSON 0.70 causes a denial of service when parsing a malformed PDF.

Vulnerability

The vulnerability resides in the DCTStream::readHuffSym function in PDF2JSON version 0.70 (commit b671b64). When parsing a specially crafted, malformed PDF file, the function performs an invalid read of 2 bytes, leading to a crash. The issue is triggered during the processing of JPEG-encoded image data within the PDF, specifically when the Huffman table decoding logic encounters unexpected input [1].

Exploitation

An attacker can exploit this issue by providing a malicious PDF file to the pdf2json utility. No special network position or authentication is required; the attacker only needs to convince the target to process the file (e.g., via email attachment or web upload). The application attempts to reconstruct the xref table and display the PDF, but during the DCT decoding phase, the invalid read occurs, causing a denial of service (application crash) [1].

Impact

Successful exploitation leads to a Denial of Service (DoS) due to the application crash. The impact is limited to service availability, as the invalid read does not appear to allow code execution or information disclosure based on the available references [1].

Mitigation

As of the available reference (July 2021), no patched version of PDF2JSON has been released to address this issue. Users should consider avoiding processing untrusted PDF files with the affected version (0.70) until a fix is available [1].

AI Insight generated on May 27, 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.