{"schema_version":"1.9.0","id":"CVE-2025-59351","published":"2025-09-17T19:46:41.322Z","modified":"2026-08-12T03:51:32.493498032Z","aliases":["GHSA-4mhv-8rh3-4ghw","GO-2025-3970"],"related":["SUSE-SU-2025:3799-1","openSUSE-SU-2025:15576-1","openSUSE-SU-2026:21483-1"],"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dragonflyoss/dragonfly","events":[{"introduced":"0"},{"fixed":"8f6f20b604bb540c39db5fb7020926e6db2dd9c8"}],"database_specific":{"cpe":"cpe:2.3:a:linuxfoundation:dragonfly:*:*:*:*:*:go:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.1.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"versions":["v2.1.0-rc.0","v2.1.0-beta.4","v2.1.0-beta.3","v2.1.0-beta.2","v2.1.0-beta.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59351.json"}}],"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"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59351.json"},"severity":[{"type":"CVSS_V4","score":"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"}]}