All reports
Medium

transfig: global buffer overflow in conv_pattern_index() in gencgm.c

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2020-21531

Probability of exploitation in the next 30 days: 1.06%

FIRST EPSS · 2026-11-23

Description

fig2dev 3.2.7b contains a global buffer overflow in the conv_pattern_index function in gencgm.c.

In transfig's fig2dev 3.2.7b it is possible for an attacker to create a specially crafted file that causes a buffer overflow due to an off by one error during range checking. This leads to a denial of service, impacting availability of the program.