Critical Socket Handling Vulnerability in Python 3.10 - USN-5713-1

python3.10 Updated 03 Oct 2025

Summary

03/11/2022
N/A
Yes i
Unrated
Not published

USN-5713-1: python3.10 vulnerability. Affects python3.10 versions < 3.10.6-1~22.04.1. Fixed in 3.10.6-1~22.04.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Python 3.10 is a widely-used programming language known for its simplicity and versatility. It supports various programming paradigms, including procedural, object-oriented, and functional programming. The version 3.10.6-1~22.04.1 is part of the Ubuntu 22.04 LTS release. This version includes several enhancements and security updates, but it is currently affected by a vulnerability that could allow local attackers to execute arbitrary code.

Vulnerability Detail

Devin Jeanpierre discovered that Python incorrectly handled sockets when the multiprocessing module was being used. This flaw could allow a local attacker to exploit the vulnerability to execute arbitrary code and escalate privileges, posing a significant security risk to systems running the affected version of Python.

How To Fix

Minimum fixed version

3.10.6-1~22.04.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python3.10

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can limit access to the Python multiprocessing module or restrict the execution of Python scripts that utilize this module until the package is updated.

Conclusion

The vulnerability in Python 3.10, identified as USN-5713-1, poses a significant risk due to improper socket handling in the multiprocessing module. Users are strongly advised to update to the patched version to ensure system security and prevent potential exploitation.

See every vulnerability recorded for python3.10 →

Share this vulnerability

FAQ

The vulnerability involves improper handling of sockets in Python's multiprocessing module, which could allow local attackers to execute arbitrary code.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

Yes, the patched version is 3.10.6-1~22.04.1. Users should update to this version to mitigate the risk.

Failure to address this vulnerability could lead to unauthorized code execution and privilege escalation, compromising system security.

Detailed information can be found in the Ubuntu Security Notices, specifically USN-5713-1, which outlines the vulnerability and its implications.

Related vulnerabilities

Recent vulnerabilities recorded for python3.10.

How To Fix

Minimum fixed version

3.10.6-1~22.04.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python3.10

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback