Skip to content

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

LowCVSS 2.7 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

4 packages: 2 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
dragonflyoss dragonfly(Go) < 2.1.0; All versions 2.1.0 Partially fixed
d7y.io/dragonfly/v2(Go) < 2.1.0 2.1.0 Fixed
linuxfoundation dragonfly < 2.1.0 2.1.0 Fixed
dragonflyoss dragonfly = < 2.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
dragonflyoss dragonfly(Go) < 2.1.0 2.1.0
d7y.io/dragonfly/v2(Go) < 2.1.0 2.1.0
dragonflyoss dragonfly(Go) All versions No fix listed
dragonflyoss dragonfly = < 2.1.0 No fix listed
linuxfoundation dragonfly < 2.1.0 2.1.0

References