10

CVE-2018-19417: contiki-ng

CVSS: 10.0v3.0CriticalModified
Published 21-11-2018Last modified 05-08-2024

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.

Overall risk
90/100
0100
Critical · default modelHow is this calculated?
CVSS score
10.0/10
010
Critical · v3.0 (NVD)
EPSS score
5.69%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 21-11-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last 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 versions

EPSS 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

20-09-202620-10-2026
EPSS score
5.69%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Contiki Ng

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Contiki-ng1 product

1 vendor · 1 product

References

1 links