What’s Vulnerable › Vulnerabilities
CVE-2025-59351: Dragonfly possibly panics due to nil pointer dereference when using variables created alongside an error
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-17 · updated 2026-06-17
- Weakness: CWE-476
Description
Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the first return value of a function is dereferenced even when the function returns an error. This can result in a nil dereference, and cause code to panic. This vulnerability is fixed in 2.1.0.
Affected products
- dragonflyoss dragonfly: before 2.1.0 — fixed in 2.1.0
How to fix
Upgrade to a fixed version: dragonflyoss dragonfly 2.1.0. Check the vendor advisory for mitigations.
References
- https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf
- https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-4mhv-8rh3-4ghw
Get alerted when CVE-2025-59351 or the next vulnerability affects your stack