{"id":"CVE-2020-15350","aliases":["CVE-2020-15350"],"related":[],"kind":"vulnerability","state":"published","title":"RIOT 2020.04 has a buffer overflow in the base64 decoder.","summary":"RIOT 2020.04 has a buffer overflow in the base64 decoder. The decoding function base64_decode() uses an output buffer estimation function to compute the required buffer capacity and validate against the provided buffer size. The base64_estimate_decode_size() function calculates the expected decoded size with an arithmetic round-off error and does not take into account possible padding bytes. Due to this underestimation, it may be possible to craft base64 input that causes a buffer overflow.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"RIOT 2020.04 has a buffer overflow in the base64 decoder. The decoding function base64_decode() uses an output buffer estimation function to compute the required buffer capacity and validate against the provided buffer size. The base64_estimate_decode_size() function calculates the expected decoded size with an arithmetic round-off error and does not take into account possible padding bytes. Due to this underestimation, it may be possible to craft base64 input that causes a buffer overflow.","source":"cvelist"},{"lang":"es","text":"RIOT versión 2020.04, presenta un desbordamiento del búfer en el decodificador base64. La función de decodificación base64_decode() usa una función de estimación del búfer de salida para calcular la capacidad de búfer requerida y comprobarla con el tamaño del búfer proporcionado. La función base64_estimate_decode_size() calcula el tamaño descodificado esperado con un error de redondeo aritmético y no toma en cuenta los posibles bytes de relleno. Debido a esta subestimación, puede ser posible crear una entrada base64 que cause un desbordamiento del búfer","source":"nvd"}],"published":"2020-07-07T16:37:39.000Z","modified":"2026-06-17T02:56:32.800Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"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:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-119","CWE-131"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"2020.04"}],"vendor":"riot-os","product":"riot","cpe":"cpe:2.3:o:riot-os:riot:2020.04:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://drive.google.com/file/d/1jMCAi8uawV1-an5uCghIxT2TEdxCE1Lk/view?usp=sharing","tags":["mailing-list","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/RIOT-OS/RIOT/pull/14400","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-15350","url":"https://www.cve.org/CVERecord?id=CVE-2020-15350","licence":"CVE Terms of Use","modified":"2024-08-04T13:15:20.192Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-15350","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15350","licence":"Public domain","modified":"2026-06-17T02:56:32.800Z"}],"updatedAt":"2026-11-25T22:57:53.279Z","epss":{"score":0.01475,"percentile":0.74583,"date":"2026-12-01T12:00:22.000Z"}}