{"id":"CVE-2022-21688","published":"2022-01-18T21:45:11Z","modified":"2025-04-23T19:10:53Z","title":"Out-of-bounds Read in Onionshare","vendor":"onionshare","product":"onionshare","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00889,"percentile":0.60213,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/onionshare/onionshare/releases/tag/v2.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/onionshare/onionshare/security/advisories/GHSA-x7wr-283h-5h2v","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":12.04},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"onionshare","affectedVersions":[{"vendor":"onionshare","product":"onionshare","versions":["< 2.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:58:10.950468Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"onionshare-cli","vulnerableRanges":["<2.5"],"patched":["2.5"],"from":["GHSA-x7wr-283h-5h2v","PYSEC-2022-39"],"provenance":"source"}],"summary":{"text":"The out-of-bounds read flaw lives in the QT image parsing component of the OnionShare desktop application, which lets users securely and anonymously share files, host websites, and chat over the Tor network. An attacker who knows the Onion service address (in public mode) or holds authentication (in private mode) can send a roughly 20-byte image that drives memory use to about 2GB and can repeat this to exhaust server memory, but the attack only takes effect when the desktop application renders the history tab, so a user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:49:58Z"},"euvd":{"id":"EUVD-2022-0179","exploited":false,"provenance":"source"}}