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

Published Nov 13, 2026
·
Updated

Scapy before 2.7.0 contains an insecure deserialization vulnerability in the loadsession 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().

Affected Software

1 affected component
pypi/scapy<2.7.0

Event History

Nov 13, 2026
CVE Published
via MITRE·09:36 AM
Data Sourced
via MITRE·09:36 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

The attacker must provide a malicious pickle-compressed session file and convince a user to load it. Loading can occur through Scapy's -s option or by using conf.session.

2

Are systems vulnerable without user interaction?

The provided information indicates user interaction is required. A user must load the crafted .pkl.gz session file before the embedded Python code executes.

3

Which Scapy versions are affected?

Scapy versions before 2.7.0 are affected. Upgrading to 2.7.0 or later removes the affected version range described here.

4

What can be done if upgrading is not immediately possible?

Do not load session files from untrusted or unverifiable sources. In particular, avoid passing untrusted files with -s and avoid setting conf.session to an untrusted .pkl.gz file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203