# CVE-2020-21531: fig2dev 3.2.7b contains a global buffer overflow in the convpatternindex function in gencgm.c.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.06%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-16T00:00:00.000Z
- Modified: 2026-06-17T03:03:45.900Z
- Weaknesses: CWE-120
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xfig_project fig2dev: 3.2.7
- debian debian_linux: 9.0; 10.0

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://sourceforge.net/p/mcj/tickets/63/> (exploit, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/10/msg00002.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/01/msg00044.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2020-21531](https://www.cve.org/CVERecord?id=CVE-2020-21531), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-21531](https://nvd.nist.gov/vuln/detail/CVE-2020-21531), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-21531 · Whole record: https://cve.day/CVE-2020-21531.json · Rebuilt by cve.day 2026-11-25T22:57:58.386Z
