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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-09-17 · Modified: 2025-09-17
- Aliases: GHSA-2qgr-gfvj-qpcr, GO-2025-3963
- Record: https://cvemate.com/vulnerability/CVE-2025-59348 · JSON: https://cvemate.com/vulnerability/CVE-2025-59348/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.355%, percentile 31.26%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- dragonflyoss dragonfly: \< 2.1.0
- d7y.io/dragonfly v2 (Go): \< 2.1.0
- github.com/dragonflyoss dragonfly (Go): \< 2.1.0 \| All versions (No fix recorded)
- linuxfoundation dragonfly: \< 2.1.0

## References

- <https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-2qgr-gfvj-qpcr>
- <https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59348>
- <https://github.com/dragonflyoss/dragonfly>
- <https://pkg.go.dev/vuln/GO-2025-3963>

---

Data as of 2026-12-05T04:58:48.241Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
