Insecure deserialization in Scapy lets crafted session files run code
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-502.
Summary
Scapy before 2.7.0 contains an insecure deserialization flaw in the load_session function, where a malicious pickle session file is executed as code when loaded. An attacker can trick a user into loading a crafted .pkl.gz file through the -s option or conf.session, which runs embedded Python code (CWE-502). The attack requires the user to take an action and local access with low privileges.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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__().
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade secdev Scapy to version 2.7.0 or later, which is the fixed version listed for this flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA scapy (secdev) Fixed in 2.7.0
Timeline
- 2026-11-13 Threatist record created from CVE-2025-71463
- 2026-11-13 Alias added: GHSA-f572-w3j5-2qmc
- 2026-11-13 CISA SSVC decision points changed
References
More secdev vulnerabilities
- TI-2026-91462 Scapy Uncontrolled Recursion DoS via BER SEQUENCE Decoder CVSS 4.0MEDIUM 6.9
- TI-2026-91461 Scapy Denial of Service via Quadratic BER OID Decoding CVSS 4.0MEDIUM 6.9
Sources
- CVE-2025-71463 · CVE Program
- CVE-2025-71463 · NVD
- FIRST EPSS
- GHSA-f572-w3j5-2qmc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences