Double Free Affecting fig2dev package, versions *


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.31% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1804-FIG2DEV-2339843
  • published14 Jun 2025
  • disclosed12 Jan 2022

Introduced: 12 Jan 2022

CVE-2021-37529  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:18.04 fig2dev.

NVD Description

Note: Versions mentioned in the description apply only to the upstream fig2dev package and not the fig2dev package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

A double-free vulnerability exists in fig2dev through 3.28a is affected by: via the free_stream function in readpics.c, which could cause a denial of service (context-dependent).

CVSS Base Scores

version 3.1