Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttach or control MH-Z19B serdev device
-
ExploitSend serial reply exceeding MHZ19B_CMD_SIZE
-
ExecutionOverflow fixed st->buf in receive callback
-
ImpactCorrupt kernel memory and crash system
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires the CONFIG for the iio chemical mhz19b driver to be built and loaded, and the driver bound to a serdev serial device whose reply stream the attacker can influence (e.g., a malicious or faulty MH-Z19B UART CO2 sensor). The concrete trigger is a serdev receive callback delivering a chunk that makes the accumulated reply exceed the fixed MHZ19B_CMD_SIZE buffer before the pre-patch code validates it. Limiting factors: the attack vector is local (AV:L), the vulnerable driver is a specialized sensor module rarely present in general-purpose deployments, and impact is availability-only (kernel DoS) with no disclosed path to confidentiality or integrity loss. |
| Impact | All signals point to a low-to-moderate real-world priority despite the vulnerability living in the ubiquitous Linux kernel. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5 Medium) shows a local-only, availability-only impact: no confidentiality or integrity loss, so the realistic outcome is a kernel crash/DoS rather than code execution or data theft. EPSS is low at 0.20% (10th percentile), consistent with the absence of a CISA KEV listing - there is no evidence of active exploitation. The vuln.today decision label is 'this_month' (routine patch cadence), not act_now or emergency. The one tension worth noting: the 'Buffer Overflow' tag and the description of writing past a fixed buffer (st->buf) could in principle be more severe than the A:H-only rating implies, but the upstream fix frames the defect as an oversized-reply overflow mitigated by returning -EMSGSIZE, and the vector assigns no C/I impact - treat it as a DoS/memory-safety hardening fix unless the vendor states otherwise. Net: a legitimate memory-safety bug to patch on normal cycles, not a high-urgency incident, because it requires local access plus a specific, rarely-loaded sensor driver. |
| Exploit ScenarioDerived | A local attacker who can supply the serial data stream to a system running the iio chemical mhz19b driver - for example via a malicious or malfunctioning MH-Z19B CO2 serial sensor bound through serdev - causes the device to return a reply larger than MHZ19B_CMD_SIZE. mhz19b_receive_buf() appends each chunk and advances buf_idx without bounds-checking, overflowing the fixed st->buf and corrupting adjacent kernel memory, leading to a denial of service. No public exploit code was identified; the available references are patch commits and distribution advisories only. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 30, 2026
A fixed-buffer overflow in the Linux IIO chemical sensor driver for the MH-Z19B CO2 sensor (mhz19b) lets a local attacker who can influence the serdev reply stream overflow st->buf before the command path validates the response, causing a kernel crash and denial of service. The flaw is reachable only where the mhz19b driver is built and loaded and bound to a serial device controlled by a malicious or faulty sensor; impact is availability-only with no disclosed confidentiality or integrity path (CVSS 3.1: AV:L/AC:L/PR:L/UI:N, A:H). Exploitation has not been confirmed in the wild and no public exploit was identified at time of analysis; EPSS is 0.2% (10th percentile) and the priority decision is 'this_month', reflecting a low-to-moderate real-world priority despite the kernel's ubiquity.
RemediationAI
Vendor-released patch: Linux 6.18.35, 7.0.12 and 7.1 (upstream commits 673478bc29cf72010faaf293c1c8c667393335a0, ea69e7a6efa88ef32090a91064c362738cc19ddd, a5a05410cb34bfa486d63684cdc1f87a3b13f20a); apply the corresponding stable update for your kernel branch, and on Ubuntu install the kernel from USN-8593-1 (https://ubuntu.com/security/notices/USN-8593-1). Updating is the complete fix because it adds the bounds check and resets the reply state per command. If the update cannot be applied immediately, the exposure is limited to systems where the mhz19b driver is built and loaded and bound to a serial device whose reply stream is attacker-influenced: not building or not loading that module (config/blacklist) on hosts without an MH-Z19B sensor removes the attack surface at the cost of losing CO2 sensor support, and physically or logically isolating untrusted UART peripherals from the sensor port limits the trigger but does not repair the overflow.
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
The mhz19b driver is a small IIO (Industrial I/O) chemical-sensor driver that talks to an MH-Z19B UART CO2 module through the Linux serdev framework. Its receive callback, mhz19b_receive_buf(), appends each incoming serdev chunk into a fixed-size MHZ19B_CMD_SIZE buffer and advances buf_idx by the chunk length without verifying that the chunk fits in the remaining space, so a single large callback can write past the end of st->buf before the command path ever validates the reply. The supplied data assigns no CWE, but the tag classifies the issue as a buffer overflow; the class is a classic missing bounds check on attacker-influenced serial input. The fix resets reply state before each command and rejects replies that exceed the fixed buffer, waking the waiter and returning -EMSGSIZE instead of overwriting st->buf. Reaching the bug requires the driver's kernel configuration to be built and loaded and the driver bound to a serdev-backed serial port whose reply stream the attacker can control (for example a malicious or malfunctioning MH-Z19B sensor); the vector is local (AV:L), and the vulnerable module is a specialised sensor component rarely present in general-purpose deployments.
Know when the next one hits your stack
- 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
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Local serial/driver interaction gives AV:L; binding and loading the sensor driver implies some privilege (PR:L); overflow yields a kernel crash, so A:H with no C/I impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
In the Linux kernel, the following vulnerability has been resolved:
iio: chemical: mhz19b: reject oversized serial replies
mhz19b_receive_buf() appends each serdev chunk into the fixed MHZ19B_CMD_SIZE receive buffer and advances buf_idx by len without checking that the chunk fits in the remaining space. A large callback can therefore overflow st->buf before the command path validates the reply.
Reset the reply state before each command and reject oversized serial replies before copying them into the fixed buffer. When an oversized reply is detected, wake the waiter and report -EMSGSIZE instead of overwriting st->buf.
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.
EUVD-2026-45705
GHSA-vrpq-2gcp-g727
NVD
CVE.org
EPSS
VulDB
Exploit-DB