Scapy code execution via deserialization in session loading
- Exploited
- No known exploitation
- Fix
- Fixed in 2.7.0
- Who is exposed
- Not reported
Summary
Scapy, a packet manipulation product from secdev, is affected by an insecure deserialization flaw in its session loading code. A local attacker with low privileges who tricks a user into loading a crafted session file can run arbitrary code with the user's privileges.
Written by a model
Original 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__().
What to do
Upgrade to a fixed version: 2.7.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2025-71463 (Scapy before 2.7.0 Insecure Deserialization RCE via Session Files), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2025-71463 (entry last updated 2026-11-13):
Affected:
- PyPI package scapy: fixed in 2.7.0
Fixed versions: 2.7.0.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2025-71463 is not listed as of cve.now's last read.
This KEV status is for CVE-2025-71463 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (PyPI): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/secdev/scapy/security/advisories/GHSA-cq46-m9x9-j8w2
- https://www.vulncheck.com/advisories/scapy-before-2.7.0-insecure-deserialization-rce-via-session-files
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2025-71463
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2025-71463"}.Affected versions
cve.now Index
- Exploitation0/40No signal
- Exposure?/25Unknown. No advisory context yet
- Reach12/20scapy: 942.5K downloads a week
- Severity6.4/10CVSS 5.4, total technical impact per CISA
- No patch0/5No signal
What would change the score
- Would score about 73 if added to CISA KEV
- Would score about 68 if CISA's SSVC rates exploitation active
- Would score about 40 if advisories confirm default setups are exposed
Impact
- Widely usedscapy has 942.5k weekly downloads. pypistats.org442 packages depend on scapy. deps.dev
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Public exploit activity
- EPSS: 0.24%
Since disclosure: the repos PoC-in-GitHub lists and FIRST's daily EPSS score.
Evidence 4
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · secdev/scapy · Advisory GHSA-cq46-m9x9-j8w2 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2025-71463 |
| Record | NVD · CVE-2025-71463 |
| Other links 1 | |
| Link | vulncheck.com · advisories/scapy-before-2.7.0-insecure-deserialization-rce-via-session-files |
Questions about CVE-2025-71463
Is CVE-2025-71463 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2025-71463?
scapy (PyPI): before 2.7.0.
Source: cve.now feed data
How do I fix CVE-2025-71463?
Upgrade to a fixed version: 2.7.0.
Source: cve.now feed data
Related
- CVE-2019-1010142scapy 2.4.0 is affected by: Denial of Service.
- CVE-2026-128237Scapy before 2.8.0 Denial of Service via Quadratic BER OID Decoding
- CVE-2026-128238Scapy before 2.8.0 Uncontrolled Recursion DoS via BER SEQUENCE Decoder
- CVE-2026-129514Unauthenticated remote code execution through struct values in Erlang term request bodies
- CVE-2026-134019PyTables: Remote code execution via auto-unpickled HDF5 attributes
- CVE-2026-132726Echo: legacy event_extra goes to unserialize() with no class limit; a vendor class turns it into PHP code execution in the job runner
No corrections so far. Something wrong on this page? Report an error.