CVE-2025-59351: Dragonfly possibly panics due to nil pointer dereference when using variables created alongside an error
Vulnerability summary
CVE-2025-59351 is a medium (CVSS 5.3) NULL Pointer Dereference vulnerability in dragonflyoss dragonfly. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 26.2% of scored vulnerabilities.
Not severe (CVSS 2.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 17-09-2025PublishedVulnerability first disclosed.
- 18-09-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated6.9MediumCVSS: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:PDiffers
- NVDNIST2.7LowCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.31%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.31% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
D7y.io/dragonfly1 product
- v2< 2.1.0
Dragonflyoss1 product
- dragonfly< 2.1.0
Github.com/dragonflyoss1 product
- dragonfly< 2.1.0 | All versions (No fix recorded)
Linuxfoundation1 product
- dragonfly< 2.1.0
4 vendors · 4 products
References
5 links- github.com/dragonflyoss/dragonfly/security/advisories/GHSA-4mhv-8rh3-4ghwX Refsource CONFIRMWEBAdvisoryPatchThird Party Advisory
- github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdfX Refsource MISCWEBProduct