# CVE-2021-20235: There's a flaw in the zeromq server in versions before 4.3.3 in src/decoderallocators.hpp.

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/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): 43.9%, higher than 98% of CVEs (2026-12-01)
- Published: 2021-04-01T13:47:05.000Z
- Modified: 2026-06-17T03:33:31.373Z
- Weaknesses: CWE-120, CWE-787
- Assigned by: redhat

## Description

There's a flaw in the zeromq server in versions before 4.3.3 in src/decoder_allocators.hpp. The decoder static allocator could have its sized changed, but the buffer would remain the same as it is a static buffer. A remote, unauthenticated attacker who sends a crafted request to the zeromq server could trigger a buffer overflow WRITE of arbitrary data if CURVE/ZAP authentication is not enabled. The greatest impact of this flaw is to application availability, data integrity, and confidentiality.

(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 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1921983> (issue-tracking, patch, third-party-advisory)
- <https://github.com/zeromq/libzmq/security/advisories/GHSA-fc3w-qxf5-7hp6> (patch, third-party-advisory)

## Sources

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

---

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