# CVE-2024-25711: diffoscope Path Traversal vulnerability

- Severity: High 7.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- 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.98%, higher than 63% of CVEs (2026-12-01)
- Published: 2024-02-11T00:00:00.000Z
- Modified: 2026-06-17T07:16:27.167Z
- Also known as: GHSA-33w6-hvmq-gh4x, PYSEC-2024-41
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

diffoscope before 256 allows directory traversal via an embedded filename in a GPG file. Contents of any file, such as ../.ssh/id_rsa, may be disclosed to an attacker. This occurs because the value of the gpg --use-embedded-filenames option is trusted.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- diffoscope (PyPI): before 256
- reproducible_builds diffoscope: before 256
- fedoraproject fedora: 39

## Every score

- CISA-ADP: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: rating Medium
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361> (vendor-advisory, web)
- <https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e> (patch, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/> (mailing-list, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-25711> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/diffoscope/PYSEC-2024-41.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47> (web)
- <https://salsa.debian.org/reproducible-builds/diffoscope> (web)
- <https://github.com/advisories/GHSA-33w6-hvmq-gh4x> (advisory)

## Sources

- CVE List: [CVE-2024-25711](https://www.cve.org/CVERecord?id=CVE-2024-25711), CVE Terms of Use, modified 2025-11-04
- GitHub Advisory Database: [GHSA-33w6-hvmq-gh4x](https://github.com/advisories/GHSA-33w6-hvmq-gh4x), CC-BY-4.0, modified 2024-12-05
- NVD: [CVE-2024-25711](https://nvd.nist.gov/vuln/detail/CVE-2024-25711), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-41](https://osv.dev/vulnerability/PYSEC-2024-41), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-25711 · Whole record: https://cve.day/CVE-2024-25711.json · Rebuilt by cve.day 2026-11-25T22:58:37.073Z
