Skip to content
OpenAdvisories
Low · 2.7 CVE-2025-59351 EUVD-2025-29769GHSA-4mhv-8rh3-4ghwGO-2025-3970

Dragonfly possibly panics due to nil pointer dereference when using variables created alongside an error

Published Sep 17, 2025 · Updated Sep 18, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
dragonflyoss dragonfly < 2.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20251023T162509-150000.1.110.1 SUSE-SU-2025:3799-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250924T192141-1.1 openSUSE-SU-2025:15576-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20251023T162509-150000.1.110.1 SUSE-SU-2025:3799-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go d7y.io/dragonfly/v2 < 2.1.0 2.1.0 GHSA-4mhv-8rh3-4ghw
Go github.com/dragonflyoss/dragonfly < 2.1.0 2.1.0 GHSA-4mhv-8rh3-4ghw
Go github.com/dragonflyoss/dragonfly all versions — GO-2025-3970

Advisories 3

References