CVE-2025-53888CWE-120

RIOT-OS has an ineffective size check that can lead to buffer overflow in link layer address filter /sys/net/link_layer/l2filter/l2filter.c

Medium · published July 18, 2025

CVSS v4.0
6.6
EPSS
1%
Percentile
58.2
In the wild
Unconfirmed
What it is

⚠️ Buffer overflow alert! The RIOT-OS vulnerability allows an unchecked input to create chaos in your IoT devices like an unmarked package causing a delivery mix-up! Think of it like a restaurant with a single, flimsy gatekeeper at the entrance. If they only check reservations for a few guests, but let anyone with a fake name slip through, things could get messy inside! That's what happens when assertions are disabled in RIOT-OS; it opens the floodgates for data overflow. An attacker can exploit this oversight to send an oversized input, potentially leading to a denial of service or, more alarmingly, arbitrary code execution. Imagine someone walking into that restaurant, taking over the kitchen, and serving whatever dish they want to all the guests!

Put simply

Think of it like a restaurant with a single, flimsy gatekeeper at the entrance. If they only check reservations for a few guests, but let anyone with a fake name slip through, things could get messy inside! That's what happens when assertions are disabled in RIOT-OS; it opens the floodgates for data overflow. This vulnerability arises from an ineffective size check in the `l2filter_add()` function, where an assertion verifies input size, but if assertions are disabled, the input is unchecked, leading to a buffer overflow during a `memcpy()` operation.

What to do

An attacker can exploit this oversight to send an oversized input, potentially leading to a denial of service or, more alarmingly, arbitrary code execution. Imagine someone walking into that restaurant, taking over the kitchen, and serving whatever dish they want to all the guests! To secure your systems, patch to version 2025.04 or later, ensuring that proper input validation is enforced even in production. Regularly review your input handling practices and conduct security audits on your IoT applications to catch similar vulnerabilities. You've got this! With the right patches and vigilance, you'll be a security hero in no time! 🛡️

The record
Technical detail
CVSS v4.0
6.6 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
EPSS
0.00861 · 58.2th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2025-07-18T15:32Z
EPSS history
Timeline
  • 18 JUL 15:32Z
    RIOT-OS has an ineffective size check that can lead to buffer overflow in link layer address filter /sys/net/link_layer/l2filter/l2filter.c
    cvelistv5