# Scapy Session Loading Vulnerable to Arbitrary Code Execution via Untrusted Pickle Deserialization

Source: https://junglewise.ai/threats/scapy-session-loading-vulnerable-to-arbitrary-code-execution-via-34fed14b  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-10-22  
License: CC BY 4.0 with a link back

Severity: medium · CVSS 4 · Published 2025-10-22

Scapy Session Loading Vulnerable to Arbitrary Code Execution via Untrusted Pickle Deserialization

Technologies: [scapy (PyPI)](https://junglewise.ai/threats/technologies/scapy). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Medium severity, with a CVSS score of 4, published 22 October 2025.

**Which products and versions are affected?** scapy (PyPI) ECOSYSTEM:introduced=0,last_affected=2.6.1.

**Is there a fix for This vulnerability?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected?** Check whether you run scapy (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- scapy (PyPI) ECOSYSTEM:introduced=0,last_affected=2.6.1

## Related threats

- [PYSEC-2019-50 - scapy 2.4.0 is affected by: Denial of Service. The impact is: infinite loop, resource consumption and…](https://junglewise.ai/threats/pysec-2019-50-scapy-2-4-0-is-affected-by-denial-of-service-the-impact-6138f74b)
- [Infinite Loop in scapy](https://junglewise.ai/threats/cve-2019-1010142-infinite-loop-in-scapy)
