Read the docs

Insecure deserialization in Scapy lets crafted session files run code

Priority LOW 26CWE-502Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00242 15th percentileScored 2026-11-16
Fix Fixed scapy (secdev): 2.7.0

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

VendorProductAffected versionsFixed inStatusSource
secdevscapybefore 2.7.02.7.0Patch availableCNA
  • scapy Vendorsecdev Affected before 2.7.0 Fixed in 2.7.0 Patch available CNA

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

  1. 2026-11-13 Threatist record created from CVE-2025-71463
  2. 2026-11-13 Alias added: GHSA-f572-w3j5-2qmc
  3. 2026-11-13 CISA SSVC decision points changed

References

  • 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