{"cve":"CVE-2025-59351","nvd":{"published":"2025-09-17T20:15:37.587","modified":"2026-06-17T09:45:57.573","status":"Analyzed","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_v4":{"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","score":2.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-476"],"references":["https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf","https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-4mhv-8rh3-4ghw"],"products":["linuxfoundation:dragonfly"],"source":"nvd","synced_at":"2026-10-19T22:10:08.713834912+00:00"},"epss":{"cve":"CVE-2025-59351","score":0.00314,"percentile":0.24391,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-4mhv-8rh3-4ghw","url":"https://osv.dev/vulnerability/GHSA-4mhv-8rh3-4ghw","summary":"DragonFly vulnerable to panics due to nil pointer dereference when using variables created alongside an error","modified":"2025-09-26T16:18:25Z","packages":[{"ecosystem":"Go","name":"github.com/dragonflyoss/dragonfly","purl":"pkg:golang/github.com/dragonflyoss/dragonfly","ranges":["<2.1.0"],"fixed":["2.1.0"]},{"ecosystem":"Go","name":"d7y.io/dragonfly/v2","purl":"pkg:golang/d7y.io/dragonfly/v2","ranges":["<2.1.0"],"fixed":["2.1.0"]}]},{"id":"GO-2025-3970","url":"https://osv.dev/vulnerability/GO-2025-3970","summary":"DragonFly vulnerable to panics due to nil pointer dereference when using variables created alongside an error in d7y.io/dragonfly","modified":"2026-03-03T04:56:56.085256Z","packages":[{"ecosystem":"Go","name":"d7y.io/dragonfly/v2","purl":"pkg:golang/d7y.io/dragonfly/v2","ranges":["<2.1.0"],"fixed":["2.1.0"]},{"ecosystem":"Go","name":"github.com/dragonflyoss/dragonfly","purl":"pkg:golang/github.com/dragonflyoss/dragonfly","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}