CVE-2018-19417
CRITICALEPSS 92th pctlDescription
An issue was discovered in the MQTT server in Contiki-NG before 4.2. The function parse_publish_vhdr() that parses MQTT PUBLISH messages with a variable length header uses memcpy to input data into a fixed size buffer. The allocated buffer can fit only MQTT_MAX_TOPIC_LENGTH (default 64) bytes, and a length check is missing. This could lead to Remote Code Execution via a stack-smashing attack (overwriting the function return address). Contiki-NG does not separate the MQTT server from other servers and the OS modules, so access to all memory regions is possible.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Exploit Intelligence
High risk: more likely to be exploited than 92% of all known CVEs.
References
Related Vulnerabilities
Other CWE-119 (Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-4966 | Critical | 9.4 | 100% | KEV + Ransom | Fix |
| CVE-2017-11882 | High | 7.8 | 100% | KEV + Ransom | - |
| CVE-2020-0796 | Critical | 10.0 | 100% | KEV + Ransom | - |
| CVE-2008-4250 | Critical | 9.8 | 99% | KEV | - |
| CVE-2017-15944 | Critical | 9.8 | 98% | KEV | Fix |
| CVE-2015-0014 | High | 10.0 | 97% | - | - |
Embed a live status badge for CVE-2018-19417
Markdown
[](https://tridentstack.com/cve/CVE-2018-19417)HTML
<a href="https://tridentstack.com/cve/CVE-2018-19417"><img src="https://tridentstack.com/cve/badge/CVE-2018-19417.svg" alt="CVE-2018-19417"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.