Description
Memray is a memory profiler for Python. Prior to Memray 1.19.2, Memray rendered the command line of the tracked process directly into generated HTML reports without escaping. Because there was no escaping, attacker-controlled command line arguments were inserted as raw HTML into the generated report. This allowed JavaScript execution when a victim opened the generated report in a browser. Version 1.19.2 fixes the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| bloomberg | memray | < 1.19.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-memray | 1.19.3+dfsg-1 | — |
| Debian 13 | python-memray | 1.17.0+dfsg-1+deb13u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-memray | No fix yet | — |
| Ubuntu 26.04 LTS | python-memray | No fix yet | — |
| Ubuntu 25.10 | python-memray | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
0xmrma/CVE-2026-32722 ★ 1 · Mar 15, 2026
Bloomberg Memray’s Stored XSS via Unescaped Command-Line Metadata
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | memray | < 1.19.2 | 1.19.2 | GHSA-r5pr-887v-m2w9 |