CVE-2025-59351

Dragonfly possibly panics due to nil pointer dereference when using variables created alongside an error

Published Sep 17, 2025 CVSS 4.0 · 2.7 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-29769 DragonFly vulnerable to panics due to nil pointer dereference when using variables created alongside an error
Github GHSA Github GHSA GHSA-4mhv-8rh3-4ghw DragonFly vulnerable to panics due to nil pointer dereference when using variables created alongside an error
History
Type Values Removed Values Added
First Time appeared Linuxfoundation
Linuxfoundation dragonfly
CPEs cpe:2.3:a:linuxfoundation:dragonfly:*:*:*:*:*:go:*:*
Vendors & Products Linuxfoundation
Linuxfoundation dragonfly
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dragonflyoss
Dragonflyoss dragonfly2
Vendors & Products Dragonflyoss
Dragonflyoss dragonfly2
Type Values Removed Values Added
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.
Title Dragonfly possibly panics due to nil pointer dereference when using variables created alongside an error
Weaknesses CWE-476
References
Metrics cvssV4_0

{'score': 2.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 18, 2025, 5:42 PM
Reserved
Sep 12, 2025, 12:36 PM
Status
Analyzed
Published
Sep 17, 2025, 8:15 PM
Modified
Jun 17, 2026, 9:45 AM