# CVE-2025-71463: Scapy before 2.7.0 Insecure Deserialization RCE via Session Files

- Severity: Medium 5.4 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA: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.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-10-22T16:45:49.000Z
- Modified: 2026-11-14T02:56:23.704Z
- Also known as: GHSA-cq46-m9x9-j8w2
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

Scapy before 2.7.0 contains an insecure deserialization vulnerability in the load_session function that allows attackers to execute code by supplying a malicious pickle session file. Attackers can trick users into loading a crafted .pkl.gz file via the -s option or conf.session, executing embedded Python code through __reduce__().

(As written by CVE List.)

## Affected

- secdev scapy: before 2.7.0 (not affected: 2.7.0)
- scapy (PyPI): up to 2.6.1

## Every score

- VulnCheck: CVSS:4.0 5.4 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/secdev/scapy/security/advisories/GHSA-cq46-m9x9-j8w2> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/scapy-before-2.7.0-insecure-deserialization-rce-via-session-files> (third-party-advisory)
- <https://github.com/secdev/scapy/commit/13621d1145b3435e9d03caf20997107a84435c0b> (web)
- <https://github.com/secdev/scapy> (package)

## Sources

- CVE List: [CVE-2025-71463](https://www.cve.org/CVERecord?id=CVE-2025-71463), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-cq46-m9x9-j8w2](https://github.com/advisories/GHSA-cq46-m9x9-j8w2), CC-BY-4.0, modified 2026-11-14
- NVD: [CVE-2025-71463](https://nvd.nist.gov/vuln/detail/CVE-2025-71463), Public domain, modified 2026-11-13

---

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