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

- Severity: Medium 5.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-09-17T19:30:22.841Z
- Modified: 2026-06-17T09:45:57.213Z
- Also known as: GHSA-2qgr-gfvj-qpcr, GO-2025-3963
- Weaknesses: CWE-457
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- dragonflyoss dragonfly: < 2.1.0
- github.com/dragonflyoss/dragonfly (Go): before 2.1.0; all versions
- d7y.io/dragonfly/v2 (Go): before 2.1.0
- linuxfoundation dragonfly: before 2.1.0

## Every score

- GitHub_M: CVSS:4.0 5.5 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-2qgr-gfvj-qpcr> (advisory, patch, third-party-advisory, web)
- <https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59348> (advisory)
- <https://github.com/dragonflyoss/dragonfly> (package)
- <https://pkg.go.dev/vuln/GO-2025-3963> (web)

## Sources

- CVE List: [CVE-2025-59348](https://www.cve.org/CVERecord?id=CVE-2025-59348), CVE Terms of Use, modified 2025-09-17
- GitHub Advisory Database: [GHSA-2qgr-gfvj-qpcr](https://github.com/advisories/GHSA-2qgr-gfvj-qpcr), CC-BY-4.0, modified 2025-09-26
- Go Vulnerability Database: [GO-2025-3963](https://pkg.go.dev/vuln/GO-2025-3963), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-59348](https://nvd.nist.gov/vuln/detail/CVE-2025-59348), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-59348 · Whole record: https://cve.day/CVE-2025-59348.json · Rebuilt by cve.day 2026-11-25T22:59:04.800Z
