What’s Vulnerable › Vulnerabilities

CVE-2025-59351: Dragonfly possibly panics due to nil pointer dereference when using variables created alongside an error

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

How to fix

Upgrade to a fixed version: dragonflyoss dragonfly 2.1.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-59351 or the next vulnerability affects your stack