{"id":"CVE-2018-19417","aliases":["EUVD-2018-11109","GHSA-cxvc-6cjq-88vx","MGASA-2019-0168"],"status":"published","title":"An issue was discovered in the MQTT server in Contiki-NG before 4.2. The function...","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.","severity":{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.05692,"percentile":0.93055,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119"],"published":"2018-11-21T19:00:00Z","modified":"2026-10-20T10:50:06Z","affected":[{"source":"osv","ecosystem":"Mageia:6","package":"sysstat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.1.4-1.mga6"}]}],"bundled":2}],"products":[{"vendor":"contiki-ng","product":"contiki-ng"}],"references":[{"url":"https://github.com/contiki-ng/contiki-ng/issues/600","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19417"},{"url":"https://github.com/advisories/GHSA-cxvc-6cjq-88vx"},{"url":"https://advisories.mageia.org/MGASA-2019-0168.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=24765","tags":["report"]},{"url":"https://lists.opensuse.org/opensuse-updates/2019-04/msg00086.html","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-19417","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.","status":"published","published":"2018-11-21T19:00:00Z","modified":"2024-08-05T11:37:10.864Z","updated_at":"2026-11-02T14:35:02.966615Z"}],"euvd":[{"id":"EUVD-2018-11109","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.","status":"published","published":"2018-11-21T19:00:00Z","modified":"2024-08-05T11:37:10Z","updated_at":"2026-11-03T02:39:33.782065Z"}],"ghsa":[{"id":"GHSA-cxvc-6cjq-88vx","title":"An issue was discovered in the MQTT server in Contiki-NG before 4.2. The function...","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.","status":"published","published":"2022-05-14T01:37:00Z","modified":"2023-02-02T05:04:12Z","cvss":[{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:51:48.979759Z"}],"nvd":[{"id":"CVE-2018-19417","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.","status":"published","published":"2018-11-21T20:29:00.307Z","modified":"2026-06-17T01:49:16.43Z","cvss":[{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:04:48.987926Z"}],"osv":[{"id":"CVE-2018-19417","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.","status":"published","published":"2018-11-21T20:29:00.307Z","modified":"2026-10-20T10:50:06.06842908Z","cvss":[{"version":"3.0","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:08.834469Z"},{"id":"MGASA-2019-0168","title":"Updated sysstat packages fix security vulnerabilities","description":"Updated sysstat package fix security vulnerabilities:\n\nOut-of-bounds read during a memmove call inside the remap_struct\nfunction (CVE-2018-19416).\n\nOut-of-bounds read during a memset call inside the remap_struct\nfunction (CVE-2018-19517).\n","status":"published","published":"2019-05-12T09:35:33Z","modified":"2026-04-16T04:41:31.05260882Z","updated_at":"2026-11-02T15:49:40.793816Z"}]}}
