CVE-2022-21688
published high CVSS 3.1 · 7.5Out-of-bounds Read in Onionshare
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| onionshare | — | onionshare< 2.5 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-onionshareaarch64 | Advisory build | 2.5-1.1 | OPENSUSE-SU-2024:11983-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-onionshareppc64le | Advisory build | 2.5-1.1 | OPENSUSE-SU-2024:11983-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-onionshares390x | Advisory build | 2.5-1.1 | OPENSUSE-SU-2024:11983-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-onionsharex86_64 | Advisory build | 2.5-1.1 | OPENSUSE-SU-2024:11983-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-onionshareaarch64 | Advisory build | 2.6-4.1 | OPENSUSE-SU-2024:13635-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-onionshareppc64le | Advisory build | 2.6-4.1 | OPENSUSE-SU-2024:13635-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-onionshares390x | Advisory build | 2.6-4.1 | OPENSUSE-SU-2024:13635-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-onionsharex86_64 | Advisory build | 2.6-4.1 | OPENSUSE-SU-2024:13635-1 |
Description
OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. Affected versions of the desktop application were found to be vulnerable to denial of service via an undisclosed vulnerability in the QT image parsing. Roughly 20 bytes lead to 2GB memory consumption and this can be triggered multiple times. To be abused, this vulnerability requires rendering in the history tab, so some user interaction is required. An adversary with knowledge of the Onion service address in public mode or with authentication in private mode can perform a Denial of Service attack, which quickly results in out-of-memory for the server. This requires the desktop application with rendered history, therefore the impact is only elevated. This issue has been patched in version 2.5.
Related advisories
Vendor advisories explicitly linked to this CVE.
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.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| onionshare | onionshare | < 2.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
2Provider assertions
3GitHub_M · cna
Out-of-bounds Read in Onionshare
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8d80a693d14daa62e950eaab90bcf16cc3ee8c8133866afc5b84fbb0d0d57e68
- Ingested
- 23 Sep 2026, 07:58:18 UTC
- Source record
- Official CVE record