Buffer overflow in Zeromq Libzmq
CVE-2019-13132
In ZeroMQ libzmq before 4.0.9, 4.1.x before 4.1.7, and 4.2.x before 4.3.2, a remote, unauthenticated client connecting to a libzmq application, running with a socket listening with CURVE encryption/authentication enabled, may cause a stack overflow and overwrite the stack with arbitrary data, due to a buffer overflow in the library. Users running public servers with the above configuration are highly encouraged to upgrade as soon as possible, as there are no known mitigations.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.425, 98.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Zeromq Libzmq
- Canonical Ubuntu Linux — versions 16.04, 18.04, 18.10
- Debian Linux — versions 8.0, 9.0
- Fedoraproject Fedora — versions 29, 30, 31
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- dinosn/cve-2019-13132-lab (last pushed 2026-05-04): CVE-2019-13132 — libzmq CURVE INITIATE stack overflow → RCE. Working exploit + Docker lab.
Also mentioned in 2 other repositories (ARPSyndicate/cve-scores, fangpenlin/fangpenlin). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [oss-security] 20190708 CVE-2019-13132: zeromq/libzmq: denial of service via stack overflow with arbitrary data (mailing-list, Mailing List, Third Party Advisory, Release Notes)
- [debian-lts-announce] 20190708 [SECURITY] [DLA 1849-1] zeromq3 security update (mailing-list, Mailing List, Third Party Advisory)
- USN-4050-1 (vendor-advisory, Third Party Advisory)
- DSA-4477 (vendor-advisory, Third Party Advisory)
- 20190709 [SECURITY] [DSA 4477-1] zeromq3 security update (mailing-list, Mailing List, Third Party Advisory)
- github.com/zeromq/libzmq/issues/3558 (Third Party Advisory)
- github.com/zeromq/libzmq/releases (Third Party Advisory, Release Notes)
- www.securityfocus.com/bid/109284 (Third Party Advisory, VDB Entry, vdb-entry, Broken Link)
- openSUSE-SU-2019:1767 (vendor-advisory, Broken Link)
- GLSA-201908-17 (vendor-advisory, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.