CVE-2018-19417: contiki-ng
Vulnerability summary
CVE-2018-19417 is a critical (CVSS 10.0) vulnerability in contiki-ng. EPSS estimates a 5.69% chance of exploitation in the next 30 days, higher than 92.9% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 21-11-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
5.69%
Chance of exploitation in the next 30 days
Percentile
93%
Versus all other CVEs
30-day change
0.00 pp
From 5.69% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundContiki Ng
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Contiki-ng1 product
- contiki-ng< 4.2
1 vendor · 1 product