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

CVE-2020-23705

CVE-2020-23705

Description

A global buffer overflow vulnerability in jfif_encode at jfif.c:701 of ffjpeg through 2020-06-22 allows attackers to cause a Denial of Service (DOS) via a crafted jpeg file.

AI Insight

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

A global buffer overflow in ffjpeg's jfif_encode function allows denial of service via a crafted JPEG file.

Vulnerability

A global buffer overflow vulnerability exists in the jfif_encode function at jfif.c:701 of ffjpeg through 2020-06-22 [1]. The overflow occurs when reading data into a fixed-size global array STD_HUFTAB_LUMIN_AC (size 178 bytes) in huffman.c:388, but a read of 272 bytes is attempted, causing a read past the end of the buffer [1]. This can be triggered by processing a specially crafted JPEG file with the -e flag [1].

Exploitation

An attacker needs to supply a malicious JPEG file to the ffjpeg application. No authentication or special network position is required; the attack is local. The reproduction steps involve compiling ffjpeg with AddressSanitizer and executing ffjpeg -e $poc where $poc is the crafted file [1]. The overflow is a read operation, which leads to a crash.

Impact

Successful exploitation results in a denial of service (DoS) due to the global buffer overflow. The AddressSanitizer report confirms a global-buffer-overflow read error, causing the application to terminate abnormally [1]. There is no indication of code execution or information disclosure.

Mitigation

As of the reference, no fix has been provided by the developer [1]. The ffjpeg project appears unmaintained. Users should avoid processing untrusted JPEG files with ffjpeg or consider using maintained alternatives. No workaround is documented.

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.