Vulnerability · Published Sep 17, 2025 · Assigned by GitHub_M

CVE-2025-59348Dragonfly incorrectly handles a task structure’s usedTraffic field

Medium 5.5

In plain English

A medium-severity security flaw in dragonfly from dragonflyoss. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.5Medium
Exploit odds (30 days)0.4%top 70.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the processPieceFromSource method does not update the structure’s usedTraffic field, because an uninitialized variable n is used as a guard to the AddTraffic method call, instead of the result.Size variable. A task is processed by a peer. The usedTraffic metadata is not updated during the processing. Rate limiting is incorrectly applied, leading to a denial-of-service condition for the peer. This vulnerability is fixed in 2.1.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
God7y.io/dragonfly/v22.1.0GHSA-2qgr-gfvj-qpcr
God7y.io/dragonfly/v22.1.0GO-2025-3963
Gogithub.com/dragonflyoss/dragonfly2.1.0GHSA-2qgr-gfvj-qpcr
Gogithub.com/dragonflyoss/dragonflyno fix listedGO-2025-3963

Affected products (as reported)

VendorProductVersions
dragonflyoss dragonfly < 2.1.0

Weakness: CWE-457 · 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:P

References