UBUNTU-CVE-2025-71463: Medium severity ubuntu/scapy vulnerability

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

7 affected components
ubuntu/scapy*
ubuntu/scapy*
ubuntu/scapy*
ubuntu/scapy*
ubuntu/scapy*
ubuntu/scapy*
ubuntu/scapy*

Event History

Nov 13, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

The attacker must provide a malicious Scapy session file in .pkl.gz format and convince a user to load it using the -s option or by setting conf.session. Exploitation also requires the user to interact with the crafted file.

2

Who is exposed to this vulnerability?

Users of Scapy versions before 2.7.0 are exposed when they load session files from untrusted sources. The vulnerability is local in scope because code execution occurs in the context of the user running Scapy.

3

How can I determine whether a system may be affected?

Check whether the installed Scapy version is earlier than 2.7.0 and whether users or automation load .pkl.gz session files through -s or conf.session. Treat previously obtained session files from untrusted or unknown sources as potentially malicious.

4

What can be done until Scapy is updated?

Do not load Scapy .pkl.gz session files from untrusted sources, including through the -s option or conf.session. Restrict session-file loading to files created and controlled by trusted users or processes.

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