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

Medium 5.4 Published Updated

Attackers who trick users into loading a malicious pickle session file can execute arbitrary Python code via Scapy's session loading.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Harmful if only installed
No
Needs a specific call
Yes
Fix
Available

What is CVE-2025-71463?

CVE-2025-71463 is a medium-severity unsafe deserialization vulnerability in secdev scapy, published on 13 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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__().

Weakness: CWE-502

Which versions are affected by CVE-2025-71463?

1 open source package ship an affected version, including scapy.

An affected version is only exploitable if your software calls load_session. Many projects that include it are not exposed.

PackageAffectedFixed in
scapy PyPI
pkg:pypi/scapy
All versions to 2.6.1None
Status by vendor (1)
WhoReleaseStatusPackages
Upstreamaffectedscapy
pkg:pypi/scapy

How do I fix CVE-2025-71463?

Upgrade to a fixed version.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2025-71463 being exploited?

There is no known exploitation of CVE-2025-71463 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-71463, GHSA-cq46-m9x9-j8w2, GHSA-f572-w3j5-2qmc, UBUNTU-CVE-2025-71463.

Is CVE-2025-71463 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free