{"id":"CVE-2025-59351","published":"2025-09-17T19:46:41Z","modified":"2025-09-18T17:42:35Z","title":"Dragonfly possibly panics due to nil pointer dereference when using variables created alongside an error","vendor":"dragonflyoss","product":"dragonfly","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.7,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00561,"percentile":0.40374,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-4mhv-8rh3-4ghw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf","tags":["x_refsource_MISC"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":8.07},{"name":"CVSS severity","points":1.89}]},"vendorSlug":"dragonflyoss","affectedVersions":[{"vendor":"dragonflyoss","product":"dragonfly","versions":["< 2.1.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-09-18T17:42:28.918788Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/dragonflyoss/dragonfly","vulnerableRanges":["<2.1.0","all versions"],"patched":["2.1.0"],"from":["GHSA-4mhv-8rh3-4ghw","GO-2025-3970"],"provenance":"source"},{"ecosystem":"Go","package":"d7y.io/dragonfly/v2","vulnerableRanges":["<2.1.0"],"patched":["2.1.0"],"from":["GHSA-4mhv-8rh3-4ghw","GO-2025-3970"],"provenance":"source"}],"summary":{"text":"The flaw is a nil pointer dereference in Dragonfly, an open source P2P-based file distribution and image acceleration system, where the first return value of a function is dereferenced even when that function returns an error. An attacker with network access and no authentication or user interaction can trigger this condition to make the affected code panic, causing a denial of service; the issue is present in versions before 2.1.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:28Z"},"euvd":{"id":"EUVD-2025-29769","exploited":false,"provenance":"source"}}