<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-20T03:58:07.619297+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/brew-pocsuite3-ghsa-cq46-m9x9-j8w2</id>
    <title>BREW-pocsuite3-GHSA-cq46-m9x9-j8w2 — Scapy Session Loading Vulnerable to Arbitrary Code Execution via Untrusted Pickle Deserialization</title>
    <updated>2026-10-20T03:58:07.638197+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Homebrew: pocsuite3</p>
<p>### Summary</p>
<p>An unsafe deserialization vulnerability in Scapy &lt;v2.7.0 allows attackers to execute arbitrary code **when a malicious session file is locally loaded via the `-s` option**. This requires convincing a user to manually load a malicious session file.</p>
<p>---</p>
<p>### Details</p>
<p>Scapy’s interactive shell supports session loading using gzip-compressed pickle files:</p>
<p>```bash
./run_scapy -s &lt;session_file.pkl.gz&gt;
```</p>
<p>Internally, this triggers:</p>
<p>```python
# main.py
SESSION = pickle.load(gzip.open(session_name, "rb"))
```</p>
<p>Since no validation or restriction is performed on the deserialized object, **any code embedded via `__reduce__()` will be executed immediately**. This makes it trivial for an attacker to drop a malicious `.pkl.gz` in a shared folder and have it executed by unsuspecting users.</p>
<p>The vulnerability exists in the `load_session` function, which deserializes data using `pickle.load()` on `.pkl.gz` files provided via the `-s` CLI flag or programmatically through `conf.session`.</p>
<p>**Affected lines in source code**:
https://github.com/secdev/scapy/blob/master/scapy/main.py#L569-L572</p>
<p>```python
try:
    s = pickle.load(gzip.open(fname, "rb"))
except IOError:
    try:
        s = pickle.load(open(fname, "rb"))
```</p>
<p>### Impact</p>
<p>This is a classic deserialization vulnerability which leads to Code Execution (CE) when untrusted data is deserialized.</p>
<p>Any user who can trick another user into loading a crafted `.pkl.gz` session file (e.g. via `-s` option) can execute arbitrary Py…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/brew-pocsuite3-ghsa-cq46-m9x9-j8w2"/>
  </entry>
</feed>
