{"cve":"CVE-2022-21688","nvd":{"published":"2022-01-18T22:15:07.933","modified":"2026-06-17T04:26:45.977","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-125"],"references":["https://github.com/onionshare/onionshare/releases/tag/v2.5","https://github.com/onionshare/onionshare/security/advisories/GHSA-x7wr-283h-5h2v","https://github.com/onionshare/onionshare/releases/tag/v2.5","https://github.com/onionshare/onionshare/security/advisories/GHSA-x7wr-283h-5h2v"],"products":["onionshare:onionshare"],"source":"nvd","synced_at":"2026-10-19T21:27:20.926095847+00:00"},"epss":{"cve":"CVE-2022-21688","score":0.00861,"percentile":0.58542,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x7wr-283h-5h2v","url":"https://osv.dev/vulnerability/GHSA-x7wr-283h-5h2v","summary":"Out-of-bounds Read in Onionshare","modified":"2024-10-08T13:00:20.618527Z","packages":[{"ecosystem":"PyPI","name":"onionshare-cli","purl":"pkg:pypi/onionshare-cli","ranges":["<2.5"],"fixed":["2.5"]}]},{"id":"PYSEC-2022-39","url":"https://osv.dev/vulnerability/PYSEC-2022-39","summary":"","modified":"2023-11-08T04:08:07.943322Z","packages":[{"ecosystem":"PyPI","name":"onionshare-cli","purl":"pkg:pypi/onionshare-cli","ranges":["<2.5"],"fixed":["2.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}