Double Free Affecting fig2dev package, versions <3.2.8b-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.75% (50th 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 IDSNYK-ALPINE324-FIG2DEV-17299845
  • published11 Jun 2026
  • 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?

Upgrade Alpine:3.24 fig2dev to version 3.2.8b-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream fig2dev package and not the fig2dev package as distributed by Alpine. See How to fix? for Alpine:3.24 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