{"id":"CVE-2025-59351","aliases":["GHSA-4mhv-8rh3-4ghw","GO-2025-3970"],"url":"https://o3.security/vulnerability/CVE-2025-59351","summary":"Dragonfly possibly panics due to nil pointer dereference when using variables created alongside an error","details":"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.","published":"2025-09-17T19:46:41.322Z","modified":"2026-07-31T18:30:31.891590876Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/dragonflyoss/dragonfly","fixedVersion":"2.1.0"},{"ecosystem":"Go","name":"d7y.io/dragonfly/v2","fixedVersion":"2.1.0"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59351.json"},{"type":"ADVISORY","url":"https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-4mhv-8rh3-4ghw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59351"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-31T18:30:31.891590876Z"}}