Integer overflow in Zeromq Libzmq
CVE-2019-6250
A pointer overflow, with code execution, was discovered in ZeroMQ libzmq (aka 0MQ) 4.2.x and 4.3.x before 4.3.1. A v2_decoder.cpp zmq::v2_decoder_t::size_ready integer overflow allows an authenticated attacker to overwrite an arbitrary amount of bytes beyond the bounds of a buffer, which can be leveraged to run arbitrary code on the target system. The memory layout allows the attacker to inject OS commands into a data structure located immediately after the problematic buffer (i.e., it is not necessary to use a typical buffer-overflow exploitation technique that changes the flow of control).
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.097, 95.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Zeromq Libzmq
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- AkashicYiTai/CVE-2019-6250-libzmq (1 star, last pushed 2024-06-20)
- dinosn/cve-2019-6250-lab (last pushed 2026-05-03): End-to-end pre-auth RCE lab for CVE-2019-6250 (libzmq <= 4.3.0, ZMTP/2.0 wire-protocol)
Also mentioned in 3 other repositories (ARPSyndicate/cvemon, ARPSyndicate/cve-scores, tanjiti/sec_profile). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- DSA-4368 (vendor-advisory, Third Party Advisory)
- github.com/zeromq/libzmq/issues/3351 (Exploit, Patch, Third Party Advisory)
- github.com/zeromq/libzmq/releases/tag/v4.3.1 (Third Party Advisory)
- GLSA-201903-22 (vendor-advisory, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.