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

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.69%, higher than 77% of CVEs (2026-12-01)
- Published: 2021-05-28T10:42:23.000Z
- Modified: 2026-06-17T03:33:31.573Z
- Weaknesses: CWE-400, CWE-401
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- zeromq: zeromq 4.3.3
- zeromq libzmq: from 4.2.0 before 4.3.3

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1921989> (issue-tracking, third-party-advisory)
- <https://github.com/zeromq/libzmq/security/advisories/GHSA-4p5v-h92w-6wxw> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-20237](https://www.cve.org/CVERecord?id=CVE-2021-20237), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-20237](https://nvd.nist.gov/vuln/detail/CVE-2021-20237), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20237 · Whole record: https://cve.day/CVE-2021-20237.json · Rebuilt by cve.day 2026-11-25T22:58:01.579Z
