{"id":"CVE-2020-12886","aliases":["CVE-2020-12886"],"related":[],"kind":"vulnerability","state":"published","title":"A buffer over-read was discovered in the CoAP library in Arm Mbed OS 5.15.3.","summary":"A buffer over-read was discovered in the CoAP library in Arm Mbed OS 5.15.3. The CoAP parser is responsible for parsing received CoAP packets. The function sn_coap_parser_options_parse() parses the CoAP packet header starting from the message token. The length of the token in the received message is provided in the first byte parsed by the sn_coap_parser_options_parse() function. The length encoded in the message is not validated against the actual input buffer length before accessing the token. As a result, memory access outside of the intended boundary of the buffer may occur.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A buffer over-read was discovered in the CoAP library in Arm Mbed OS 5.15.3. The CoAP parser is responsible for parsing received CoAP packets. The function sn_coap_parser_options_parse() parses the CoAP packet header starting from the message token. The length of the token in the received message is provided in the first byte parsed by the sn_coap_parser_options_parse() function. The length encoded in the message is not validated against the actual input buffer length before accessing the token. As a result, memory access outside of the intended boundary of the buffer may occur.","source":"cvelist"},{"lang":"es","text":"Se detectó una lectura excesiva del búfer en la biblioteca CoAP en Arm Mbed OS versión 5.15.3. El analizador CoAP es responsable de analizar los paquetes CoAP recibidos. La función sn_coap_parser_options_parse() analiza el encabezado del paquete CoAP a partir del token del mensaje. La longitud del token en el mensaje recibido es proporcionado en el primer byte analizado por la función sn_coap_parser_options_parse(). La longitud codificada en el mensaje no es validada contra la longitud real del búfer de entrada antes de acceder al token. Como resultado, un acceso a la memoria fuera del límite previsto del búfer puede producirse","source":"nvd"}],"published":"2020-06-18T18:24:51.000Z","modified":"2026-06-17T02:52:29.297Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"5.15.3"}],"vendor":"arm","product":"mbed_os","cpe":"cpe:2.3:o:arm:mbed_os:5.15.3:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ARMmbed/mbed-os/issues/12948","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ARMmbed/mbed-coap/pull/116","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-12886","url":"https://www.cve.org/CVERecord?id=CVE-2020-12886","licence":"CVE Terms of Use","modified":"2024-08-04T12:11:18.975Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-12886","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12886","licence":"Public domain","modified":"2026-06-17T02:52:29.297Z"}],"updatedAt":"2026-11-25T22:57:53.037Z","epss":{"score":0.01352,"percentile":0.72346,"date":"2026-12-01T12:00:22.000Z"}}