{"id":"UBUNTU-CVE-2025-71463","details":"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__().","modified":"2026-11-18T10:54:23Z","published":"2026-11-13T10:17:00Z","upstream":["CVE-2025-71463"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-71463"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-71463"},{"type":"REPORT","url":"https://github.com/secdev/scapy/security/advisories/GHSA-cq46-m9x9-j8w2"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/scapy-before-2.7.0-insecure-deserialization-rce-via-session-files"}],"affected":[{"package":{"name":"scapy","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.0-1","binary_name":"python-scapy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71463.json"}},{"package":{"name":"scapy","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.3-1","2.3.3-3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.3-3","binary_name":"python-scapy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71463.json"}},{"package":{"name":"scapy","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.2-1","2.4.3-3","2.4.3-4"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-scapy","binary_version":"2.4.3-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71463.json"}},{"package":{"name":"scapy","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.4-4ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-scapy","binary_version":"2.4.4-4ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71463.json"}},{"package":{"name":"scapy","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.0+dfsg-2","2.5.0+dfsg-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-scapy","binary_version":"2.5.0+dfsg-2ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71463.json"}},{"package":{"name":"scapy","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.0+dfsg1-1","binary_name":"python3-scapy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71463.json"}},{"package":{"name":"scapy","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/scapy?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.1+dfsg-1","2.6.1+dfsg-3","2.7.0+dfsg-1","2.7.0+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.0+dfsg1-1","binary_name":"python3-scapy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71463.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}