# CVE-2022-42919: Linux specific local privilege escalation via the multiprocessing forkserver start method

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2022-11-06T00:00:00.000Z
- Modified: 2026-09-08T08:48:18.899Z
- Also known as: PSF-2022-9, BIT-LIBPYTHON-2022-42919, BIT-PYTHON-2022-42919, BIT-PYTHON-MIN-2022-42919
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

Python 3.9.x before 3.9.16 and 3.10.x before 3.10.9 on Linux allows local privilege escalation in a non-default configuration. The Python multiprocessing library, when used with the forkserver start method on Linux, allows pickles to be deserialized from any user in the same machine local network namespace, which in many system configurations means any user on the same machine. Pickles can execute arbitrary code. Thus, this allows for local user privilege escalation to the user that any forkserver process is running as. Setting multiprocessing.util.abstract_sockets_supported to False is a workaround. The forkserver start method for multiprocessing is not the default start method. This issue is Linux specific because only Linux supports abstract namespace sockets. CPython before 3.9 does not make use of Linux abstract namespace sockets by default. Support for users manually specifying an abstract namespace socket was added as a bugfix in 3.7.8 and 3.8.3, but users would need to make specific uncommon API calls in order to do that in CPython before 3.9.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- https://github.com/python/cpython: before 4c0c1e201a896ee5141df9a698e8a94aad2d5e6d; before b43496c01a554cf41ae654a0379efae18609ad39; before eae692eed18892309bcc25a2c0f8980038305ea2
- python python: from 3.7.3 up to 3.7.15; from 3.8.3 up to 3.8.15; from 3.9.0 before 3.9.16; from 3.10.0 before 3.10.9
- fedoraproject fedora: 35; 36; 37
- libpython (Bitnami): from 3.7.3 before 3.7.16; from 3.8.3 before 3.8.16; from 3.9.0 before 3.9.16; from 3.10.0 before 3.10.9
- python (Bitnami): from 3.7.3 before 3.7.16; from 3.8.3 before 3.8.16; from 3.9.0 before 3.9.16; from 3.10.0 before 3.10.9
- python-min (Bitnami): from 3.7.3 before 3.7.16; from 3.8.3 before 3.8.16; from 3.9.0 before 3.9.16; from 3.10.0 before 3.10.9

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/python/cpython/issues/97514> (advisory, report, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PI5DYIED6U26BGX5IRZWNCP6TY4M2ZGZ/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCRKBB5Y5EWTJUNC7LK665WO64DDXSTN/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FKGCQPIVHEAIJ77R3RSNSQWYBUDVWDKU/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2LHWWEI5OBQ6RELULMVU6KMDYG4WZXH/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XX6LLAXGZVZ327REY6MDZRMMP47LJ53P/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R6KGIRHSENZ4QAB234Z36HVIDTRJ3MFI/> (vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20221209-0006/> (advisory, third-party-advisory)
- <https://github.com/python/cpython/issues/97514#issuecomment-1310277840> (advisory, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QLUGZSEAO3MBWGKCUSMKQIRYJZKJCIOB/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RDK3ZZBRYFO47ET3N4BNTKVXN47U6ICY/> (vendor-advisory, web)
- <https://github.com/python/cpython/compare/v3.10.8...v3.10.9> (article, release-notes)
- <https://github.com/python/cpython/compare/v3.9.15...v3.9.16> (article, release-notes)
- <https://security.gentoo.org/glsa/202305-02> (vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html> (web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2138705> (advisory)
- <https://bugzilla.suse.com/show_bug.cgi?id=1204886> (advisory)
- <https://ubuntu.com/security/notices/USN-5713-1> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-42919> (web)

## Sources

- CVE List: [CVE-2022-42919](https://www.cve.org/CVERecord?id=CVE-2022-42919), CVE Terms of Use, modified 2025-11-03
- Python Software Foundation: [PSF-2022-9](https://osv.dev/vulnerability/PSF-2022-9), CC-BY-4.0, modified 2025-10-09
- NVD: [CVE-2022-42919](https://nvd.nist.gov/vuln/detail/CVE-2022-42919), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2022-42919](https://osv.dev/vulnerability/BIT-LIBPYTHON-2022-42919), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-2022-42919](https://osv.dev/vulnerability/BIT-PYTHON-2022-42919), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2022-42919](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2022-42919), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-42919 · Whole record: https://cve.day/CVE-2022-42919.json · Rebuilt by cve.day 2026-11-25T22:58:16.244Z
