CVE-2021-20235
publishedzeromq: Heap overflow when receiving malformed ZMTP v1 packets
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | zeromqzeromq 4.3.3 | Affected | Not stated | redhat |
| Debian | stretch | zeromq3 | Advisory build | 4.2.1-4+deb9u4 | DLA-2588-1 |
| Ubuntu | bionic | libzmq5 | Advisory build | 4.2.5-1ubuntu0.2+esm2 | USN-4920-1 |
| Ubuntu | bionic | zeromq3 | Advisory build | 4.2.5-1ubuntu0.2+esm2 | USN-4920-1 |
| Ubuntu | focal | libzmq5 | Advisory build | 4.3.2-2ubuntu1.20.04.1~esm2 | USN-4920-1 |
| Ubuntu | focal | zeromq3 | Advisory build | 4.3.2-2ubuntu1.20.04.1~esm2 | USN-4920-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | zeromq | zeromq 4.3.3 (affected) | redhat · cna |
Weaknesses
1- CWE-120 CWE-120->CWE-787
References
2Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f6dd049c9afd51ca952f1e2d5d91658ae484a951b43f945330722a6ee7322a53
- Ingested
- 23 Sep 2026, 07:52:16 UTC
- Source record
- Official CVE record