Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure client to malicious/compromised MQTT broker
-
DeliverySend crafted MQTT packet
-
ExploitTrigger integer underflow in length handling
-
ExecutionCorrupt memory or crash client
-
ImpactDenial of service, memory corruption, or info disclosure
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
|
| Exploitation Conditions | libumqtt is an MQTT client library, so realistic exploitation requires the vulnerable client to establish (or be induced to establish) an MQTT session with an attacker-controlled or compromised broker, or an on-path attacker able to inject MQTT responses; the crafted MQTT message then drives the integer-underflow path (CWE-191) during packet parsing. The CVSS vector (PR:N/UI:N/AC:L/AT:N) indicates no authentication, user interaction, or special attack requirement once such a connection exists, implying default-configuration parsing is affected. The exact field or packet type that triggers the underflow is not described in the available sources. Limiting factors: exposure is bounded to systems that actually embed libumqtt and connect to brokers an attacker can influence, and SSVC reports no observed exploitation; no fixed version is stated in the provided references. |
| Impact | Signals are mixed and point to a credible but not emergency-level priority. The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity flaw needing no privileges or user interaction, and the vulnerable-system impacts VC:L/VI:L/VA:H yield a base score of 8.8 (High), driven mainly by availability (denial of service). The SSVC framework, however, records Exploitation: none (no observed or public exploitation) while marking Automatable: yes and Technical Impact: partial, and the vuln.today decision label is 'this_week' rather than 'act_now'/'emergency'. There is no CISA KEV listing and no EPSS score provided, and no reference is marked as working exploit code, so this is best read as a genuine high-severity defect that is not yet under active exploitation. One tension to verify: libumqtt is an MQTT *client* library, so 'remote attacker' realistically means a malicious or compromised MQTT broker (or an on-path attacker) feeding crafted packets to a connecting client - the AV:N rating is consistent with that, but the practical reachability depends on the client contacting an attacker-influenced broker. EPSS is missing, so widespread-versus-targeted likelihood cannot be quantified from the input. |
| Exploit ScenarioDerived | A device or application linking libumqtt connects to an MQTT broker that an attacker controls or has compromised (or the attacker is on-path). The broker returns a crafted MQTT message whose length/field handling triggers the integer underflow (CWE-191) during parsing, causing the client to crash (denial of service) or corrupt memory, with potential information disclosure. No public exploit identified at time of analysis; the exact trigger is not described in the available sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 20, 2026
An integer underflow in libumqtt's MQTT packet parsing gives a remote attacker a path to memory corruption, denial of service, or limited information disclosure against any application that embeds the library. The flaw is unauthenticated and requires no user interaction in the assessed vector, but realistic attack paths are bounded: the vulnerable client must connect to an attacker-controlled or compromised MQTT broker, or an on-path attacker must be able to inject broker responses. Exploitation has not been observed (SSVC exploitation: none) and no public exploit is identified at time of analysis, although the attack is automatable and the library is tracked only by an all-versions wildcard CPE, so the installed base is not clearly delineated.
Earlier versions of this analysis (1)
An integer underflow (CWE-191) in libumqtt, an MQTT client library, can be driven by crafted MQTT data to cause denial of service, memory corruption, or limited information disclosure. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H, score 8.6) reflects a remote, unauthenticated, low-complexity attack, but because libumqtt is a client library the realistic prerequisite is that a libumqtt-based client processes attacker-influenced traffic - typically by connecting to a malicious or compromised broker or having its MQTT session machine-in-the-middled. Exploitation status is none per SSVC and no public exploit is identified in the supplied sources; the CISA ICS advisory (ICSA-26-323-03) and upstream GitHub project are the main references, and the priority label is this_week rather than act_now.
RemediationAI
No vendor-released patch or fixed version is identified in the available references, so treat resolution as pending and watch the upstream project (https://github.com/zhaojh329/libumqtt) and CISA advisory ICSA-26-323-03 (https://www.cisa.gov/news-events/ics-advisories/icsa-26-323-03 plus the CSAF JSON) for a patched release; verify the commit or tag before rolling firmware. In the interim, the effective lever is controlling which brokers a libumqtt-based client will talk to, since exploitation requires an attacker-influenced broker or on-path injection: pin clients to explicitly configured, trusted broker endpoints and reject unexpected redirects or DNS changes, accepting the operational cost that devices cannot roam to alternate brokers. Enforce TLS with server certificate validation and, where the broker supports it, mutual TLS so a spoofed or on-path broker cannot complete the session - the trade-off is certificate lifecycle management on constrained devices that may lack a real-time clock or secure storage. Segment MQTT traffic so embedded clients cannot reach arbitrary internet hosts on 1883/8883, and monitor or rate-limit malformed-packet responses from broker links; this reduces reachability but does not fix the parser. Where the library is used only as a client of a single hardened broker inside a closed network, exposure is materially lower, but no code-level mitigation is described in the sources and patching remains the only complete fix once a version is published.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libumqtt (github.com/zhaojh329/libumqtt) is a small C MQTT client library commonly embedded in IoT gateways and other constrained devices. The root cause is CWE-191, integer underflow: a length or offset value derived from a received MQTT packet is decremented or subtracted below zero during parsing, after which the resulting value is used as a size or index. The tag set (Integer Overflow, Buffer Overflow, Denial Of Service, Information Disclosure) is consistent with that pattern, where the wrapped magnitude produces an out-of-bounds read or write. The CISA ICS advisory ICSA-26-323-03 classifies this as a control-system-relevant component issue. The supplied CPE is a wildcard across all libumqtt versions, so no version boundary between vulnerable and fixed code is established by the data. Notably, the advisory and references do not identify the specific packet type, field, or code path that triggers the underflow; the trigger is not described in the available sources, and the assessed CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H) describes severity and prerequisites rather than mechanism. Because the weakness lives in the client-side parser, the attack surface is the broker-to-client direction of an MQTT session rather than a listening service on the device itself.
Know when Libumqtt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Remote parsing of attacker-supplied MQTT data needs no auth or interaction (AV:N/AC:L/PR:N/UI:N); DoS is the dominant outcome (A:H) with limited memory-corruption/info-disclosure impact (C:L/I:L), scope unchanged.
Primary rating from Vendor (icscert).
CVSS VectorVendor: icscert
Lifecycle Timeline
3DescriptionCVE.org
libumqtt is vulnerable to an integer underflow which may allow a remote attacker to cause a denial of service, memory corruption, or information disclosure.
Executive ViewAI
CVE-2026-125132 is a high-severity integer underflow in the libumqtt library, affecting any product that embeds it for MQTT communication. Successful exploitation could cause memory corruption, denial of service, or limited information disclosure, but only when the client connects to a malicious broker or an attacker can intercept and tamper with broker responses. No active exploitation has been observed, and no public exploit is currently identified. Leadership should prioritize patching or mitigating affected IoT/embedded or internal applications, as the vulnerable library's presence is often undocumented (tracked by an all-versions CPE wildcard), making the full exposure unclear.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting MQTT client connections to trusted brokers with strong authentication, enforcing network segmentation and egress filtering to block unauthorized MQTT traffic, and monitoring for unusual MQTT packet patterns that could indicate exploitation attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-131732
GHSA-88mr-r536-9jc6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB