Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-21716

published high CVSS 3.1 · 7.5

Buffer Overflow in Twisted

Published
03 Mar 2022, 00:00:00 UTC
Updated
22 Apr 2025, 18:21:08 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
twisted — twisted< 22.2.0 Affected Not stated GitHub_M
Amazon Linux AL2023 Release evaluationALAS2023-2023-056 Fixed Not stated Amazon Linux assessment
Debian stretch twisted Advisory build 16.6.0-2+deb9u2 DLA-2938-1
Ubuntu bionic twisted Advisory build 17.9.0-2ubuntu0.3 USN-5354-1
Alpine Linux edge py3-twisted Fixed 22.2.0-r0 Package fix record
SUSE / openSUSE SLE-12 python-Twistedaarch64 Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
Ubuntu esm twisted Advisory build 13.2.0-1ubuntu1.2+esm2 USN-5354-2
Ubuntu focal twisted Advisory build 18.9.0-11ubuntu0.20.04.2 USN-5354-1
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu jammy twisted Advisory build 22.1.0-2ubuntu2.1 USN-5354-2
Ubuntu xenial twisted Advisory build 16.0.0-1ubuntu0.4+esm1 USN-5354-2
Alpine Linux v3.16 py3-twisted Fixed 22.2.0-r0 Package fix record
Alpine Linux v3.17 py3-twisted Fixed 22.2.0-r0 Package fix record
Alpine Linux v3.18 py3-twisted Fixed 22.2.0-r0 Package fix record
Alpine Linux v3.19 py3-twisted Fixed 22.2.0-r0 Package fix record
Alpine Linux v3.20 py3-twisted Fixed 22.2.0-r0 Package fix record
Alpine Linux v3.21 py3-twisted Fixed 22.2.0-r0 Package fix record
Alpine Linux v3.22 py3-twisted Fixed 22.2.0-r0 Package fix record
Alpine Linux v3.23 py3-twisted Fixed 22.2.0-r0 Package fix record
Alpine Linux v3.24 py3-twisted Fixed 22.2.0-r0 Package fix record
SUSE / openSUSE SLE-12 python-Twistedppc64le Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12 python-Twisteds390x Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12 python-Twistedx86_64 Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12-SP3 python-Twistedaarch64 Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12-SP3 python-Twistedppc64le Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12-SP3 python-Twisteds390x Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12-SP3 python-Twistedx86_64 Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12-SP4 python-Twistedaarch64 Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12-SP4 python-Twistedppc64le Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12-SP4 python-Twisteds390x Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12-SP4 python-Twistedx86_64 Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12-SP5 python-Twistedaarch64 Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12-SP5 python-Twistedppc64le Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12-SP5 python-Twisteds390x Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-12-SP5 python-Twistedx86_64 Advisory build 15.2.1-9.17.1 SUSE-SU-2022:2117-1
SUSE / openSUSE SLE-15-SP2 python3-Twistedaarch64 Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE SLE-15-SP2 python3-Twistedppc64le Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE SLE-15-SP2 python3-Twisteds390x Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE SLE-15-SP2 python3-Twistedx86_64 Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE SLE-15-SP3 python3-Twistedaarch64 Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE SLE-15-SP3 python3-Twistedppc64le Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE SLE-15-SP3 python3-Twisteds390x Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE SLE-15-SP3 python3-Twistedx86_64 Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE SLE-15-SP4 python3-Twistedaarch64 Advisory build 22.2.0-150400.5.4.1 SUSE-SU-2022:2297-1
SUSE / openSUSE SLE-15-SP4 python3-Twistedppc64le Advisory build 22.2.0-150400.5.4.1 SUSE-SU-2022:2297-1
SUSE / openSUSE SLE-15-SP4 python3-Twisteds390x Advisory build 22.2.0-150400.5.4.1 SUSE-SU-2022:2297-1
SUSE / openSUSE SLE-15-SP4 python3-Twistedx86_64 Advisory build 22.2.0-150400.5.4.1 SUSE-SU-2022:2297-1
SUSE / openSUSE openSUSE-Leap-15.3 python-Twisted-docaarch64 Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE openSUSE-Leap-15.3 python-Twisted-docppc64le Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE openSUSE-Leap-15.3 python-Twisted-docs390x Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE openSUSE-Leap-15.3 python-Twisted-docx86_64 Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE openSUSE-Leap-15.3 python2-Twistedaarch64 Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE openSUSE-Leap-15.3 python2-Twistedppc64le Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE openSUSE-Leap-15.3 python2-Twisteds390x Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE openSUSE-Leap-15.3 python2-Twistedx86_64 Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE openSUSE-Leap-15.3 python3-Twistedaarch64 Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE openSUSE-Leap-15.3 python3-Twistedppc64le Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE openSUSE-Leap-15.3 python3-Twisteds390x Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE openSUSE-Leap-15.3 python3-Twistedx86_64 Advisory build 19.10.0-150200.3.12.1 SUSE-SU-2022:2070-1
SUSE / openSUSE openSUSE-Leap-15.4 python-Twisted-docaarch64 Advisory build 22.2.0-150400.5.4.1 SUSE-SU-2022:2297-1
SUSE / openSUSE openSUSE-Leap-15.4 python-Twisted-docppc64le Advisory build 22.2.0-150400.5.4.1 SUSE-SU-2022:2297-1
SUSE / openSUSE openSUSE-Leap-15.4 python-Twisted-docs390x Advisory build 22.2.0-150400.5.4.1 SUSE-SU-2022:2297-1
SUSE / openSUSE openSUSE-Leap-15.4 python-Twisted-docx86_64 Advisory build 22.2.0-150400.5.4.1 SUSE-SU-2022:2297-1
SUSE / openSUSE openSUSE-Leap-15.4 python3-Twistedaarch64 Advisory build 22.2.0-150400.5.4.1 SUSE-SU-2022:2297-1
SUSE / openSUSE openSUSE-Leap-15.4 python3-Twistedppc64le Advisory build 22.2.0-150400.5.4.1 SUSE-SU-2022:2297-1
SUSE / openSUSE openSUSE-Leap-15.4 python3-Twisteds390x Advisory build 22.2.0-150400.5.4.1 SUSE-SU-2022:2297-1
SUSE / openSUSE openSUSE-Leap-15.4 python3-Twistedx86_64 Advisory build 22.2.0-150400.5.4.1 SUSE-SU-2022:2297-1
SUSE / openSUSE openSUSE-Tumbleweed python-Twisted-docaarch64 Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python-Twisted-docppc64le Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python-Twisted-docs390x Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python-Twisted-docx86_64 Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Twistedaarch64 Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Twistedppc64le Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Twisteds390x Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Twistedx86_64 Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python38-Twistedaarch64 Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python38-Twistedppc64le Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python38-Twisteds390x Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python38-Twistedx86_64 Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python39-Twistedaarch64 Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python39-Twistedppc64le Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python39-Twisteds390x Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
SUSE / openSUSE openSUSE-Tumbleweed python39-Twistedx86_64 Advisory build 22.2.0-1.1 OPENSUSE-SU-2024:11978-1
Ubuntu bionic python-twisted Advisory build 17.9.0-2ubuntu0.3 USN-5354-1
Ubuntu bionic python-twisted-bin Advisory build 17.9.0-2ubuntu0.3 USN-5354-1
Ubuntu bionic python-twisted-conch Advisory build 1:17.9.0-2ubuntu0.3 USN-5354-1
Ubuntu bionic python-twisted-core Advisory build 17.9.0-2ubuntu0.3 USN-5354-1
Ubuntu bionic python-twisted-mail Advisory build 17.9.0-2ubuntu0.3 USN-5354-1
Ubuntu bionic python-twisted-names Advisory build 17.9.0-2ubuntu0.3 USN-5354-1
Ubuntu bionic python-twisted-news Advisory build 17.9.0-2ubuntu0.3 USN-5354-1
Ubuntu bionic python-twisted-runner Advisory build 17.9.0-2ubuntu0.3 USN-5354-1
Ubuntu bionic python-twisted-web Advisory build 17.9.0-2ubuntu0.3 USN-5354-1
Ubuntu bionic python-twisted-words Advisory build 17.9.0-2ubuntu0.3 USN-5354-1
Ubuntu bionic python3-twisted Advisory build 17.9.0-2ubuntu0.3 USN-5354-1
Ubuntu bionic python3-twisted-bin Advisory build 17.9.0-2ubuntu0.3 USN-5354-1
Ubuntu esm python-twisted Advisory build 13.2.0-1ubuntu1.2+esm2 USN-5354-2
Ubuntu esm python-twisted-bin Advisory build 13.2.0-1ubuntu1.2+esm2 USN-5354-2
Ubuntu esm python-twisted-conch Advisory build 1:13.2.0-1ubuntu1.2+esm2 USN-5354-2
Ubuntu esm python-twisted-core Advisory build 13.2.0-1ubuntu1.2+esm2 USN-5354-2
Ubuntu esm python-twisted-lore Advisory build 13.2.0-1ubuntu1.2+esm2 USN-5354-2
Ubuntu esm python-twisted-mail Advisory build 13.2.0-1ubuntu1.2+esm2 USN-5354-2
Ubuntu esm python-twisted-names Advisory build 13.2.0-1ubuntu1.2+esm2 USN-5354-2
Ubuntu esm python-twisted-news Advisory build 13.2.0-1ubuntu1.2+esm2 USN-5354-2

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 22.2.0, Twisted SSH client and server implement is able to accept an infinite amount of data for the peer's SSH version identifier. This ends up with a buffer using all the available memory. The attach is a simple as `nc -rv localhost 22 < /dev/zero`. A patch is available in version 22.2.0. There are currently no known workarounds.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

27

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
twisted twisted < 22.2.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-120 CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') (GitHub_M · cna)

References

9

Provider assertions

3

GitHub_M · cna

Buffer Overflow in Twisted

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
3d44ec83c33a560ad5c943f96226ac55064640597c28dddacd3caf9930001776
Ingested
23 Sep 2026, 07:58:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected