VYPR
Critical severity9.8NVD Advisory· Published Jul 7, 2020· Updated Jun 17, 2026

CVE-2020-15350

CVE-2020-15350

Description

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.

Affected products

3
  • Riot OS/Riot2 versions
    cpe:2.3:o:riot-os:riot:2020.04:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:o:riot-os:riot:2020.04:*:*:*:*:*:*:*
    • (no CPE)range: 2020.04
  • RIOT/RIOTdescription

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.