# CVE-2021-20237: libzmq5: An uncontrolled resource consumption (memory leak) flaw was found in ZeroMQ's src/xpub.cpp in versions before 4.3.3

CVE-2021-20237 is fixed in libzmq5 on 1 platform, first by libzmq5 4.2.5-1ubuntu0.2+esm2, released May 28, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-20237
- Priority: Routine
- CVSS: n/a (Low)
- EPSS: 0.0169
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 28, 2021

## Description

An uncontrolled resource consumption (memory leak) flaw was found in ZeroMQ's src/xpub.cpp in versions before 4.3.3. This flaw allows a remote unauthenticated attacker to send crafted PUB messages that consume excessive memory if the CURVE/ZAP authentication is disabled on the server, causing a denial of service. The highest threat from this vulnerability is to system availability.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libzmq5 Ubuntu 18.04.6 LTS (bionic) | 4.2.5-1ubuntu0.2+esm2 | [libzmq5 4.2.5-1ubuntu0.2+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libzmq5-4.2.5-1ubuntu0.2-esm2.md) | May 28, 2021 |
| Linux | libzmq5 Ubuntu 20.04 LTS (focal) | 4.3.2-2ubuntu1.20.04.1~esm2 | [libzmq5 4.3.2-2ubuntu1.20.04.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libzmq5-4.3.2-2ubuntu1.20.04.1-esm2.md) | May 28, 2021 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
