<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 20 Oct 2026 05:45:10 +0000</lastBuildDate>
    <item>
      <title>BREW-pocsuite3-GHSA-cq46-m9x9-j8w2 — Scapy Session Loading Vulnerable to Arbitrary Code Execution via Untrusted Pickle Deserialization</title>
      <link>https://cve.radiocsirt.org/vuln/brew-pocsuite3-ghsa-cq46-m9x9-j8w2</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: pocsuite3&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;An unsafe deserialization vulnerability in Scapy &amp;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.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;Scapy’s interactive shell supports session loading using gzip-compressed pickle files:&lt;/p&gt;
&lt;p&gt;```bash
./run_scapy -s &amp;lt;session_file.pkl.gz&amp;gt;
```&lt;/p&gt;
&lt;p&gt;Internally, this triggers:&lt;/p&gt;
&lt;p&gt;```python
# main.py
SESSION = pickle.load(gzip.open(session_name, &amp;#34;rb&amp;#34;))
```&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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`.&lt;/p&gt;
&lt;p&gt;**Affected lines in source code**:
https://github.com/secdev/scapy/blob/master/scapy/main.py#L569-L572&lt;/p&gt;
&lt;p&gt;```python
try:
    s = pickle.load(gzip.open(fname, &amp;#34;rb&amp;#34;))
except IOError:
    try:
        s = pickle.load(open(fname, &amp;#34;rb&amp;#34;))
```&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;This is a classic deserialization vulnerability which leads to Code Execution (CE) when untrusted data is deserialized.&lt;/p&gt;
&lt;p&gt;Any user who can trick another user into loading a crafted `.pkl.gz` session file (e.g. via `-s` option) can execute arbitrary Py…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: pocsuite3&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;An unsafe deserialization vulnerability in Scapy &amp;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.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;Scapy’s interactive shell supports session loading using gzip-compressed pickle files:&lt;/p&gt;
&lt;p&gt;```bash
./run_scapy -s &amp;lt;session_file.pkl.gz&amp;gt;
```&lt;/p&gt;
&lt;p&gt;Internally, this triggers:&lt;/p&gt;
&lt;p&gt;```python
# main.py
SESSION = pickle.load(gzip.open(session_name, &amp;#34;rb&amp;#34;))
```&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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`.&lt;/p&gt;
&lt;p&gt;**Affected lines in source code**:
https://github.com/secdev/scapy/blob/master/scapy/main.py#L569-L572&lt;/p&gt;
&lt;p&gt;```python
try:
    s = pickle.load(gzip.open(fname, &amp;#34;rb&amp;#34;))
except IOError:
    try:
        s = pickle.load(open(fname, &amp;#34;rb&amp;#34;))
```&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;This is a classic deserialization vulnerability which leads to Code Execution (CE) when untrusted data is deserialized.&lt;/p&gt;
&lt;p&gt;Any user who can trick another user into loading a crafted `.pkl.gz` session file (e.g. via `-s` option) can execute arbitrary Py…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/brew-pocsuite3-ghsa-cq46-m9x9-j8w2</guid>
    </item>
  </channel>
</rss>
