CVE-2025-53888: 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

Published Jul 18, 2025
·
Updated

RIOT-OS, an operating system that supports Internet of Things devices, has an ineffective size check implemented with assert() can lead to buffer overflow in versions up to and including 2025.04. Assertions are usually compiled out in production builds. If assertions are the only defense against untrusted inputs, the software may be exposed to attacks that utilize the lack of proper input checks. In the l2filteradd() function shown below, addrlen is checked using an assertion and is subsequently used as an argument in a memcpy() call. When assertions are disabled, there would be no size check for addrlen. As a consequence, if an attacker were to provide an addrlen value larger than CONFIGL2FILTERADDRMAXLEN, they can trigger a buffer overflow and write past the list[i].addr buffer. If the unchecked input is attacker-controlled, the impact of the buffer overflow can range from a denial of service to arbitrary code execution. Commit f6f7de4ccc107c018630e4c15500825caf02e1c2 contains a patch for the vulnerability.

Affected Software

2 affected components
RIOT RIOT-OS<=2025.04
RIOT-OS RIOT<=2025.04

Event History

Jul 18, 2025
CVE Published
via MITRE·03:32 PM
Data Sourced
via MITRE·03:32 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-53888?

CVE-2025-53888 has a critical severity rating due to its potential to cause buffer overflow vulnerabilities.

2

How do I fix CVE-2025-53888?

To fix CVE-2025-53888, upgrade to RIOT-OS version 2025.05 or later.

3

What versions of RIOT-OS are affected by CVE-2025-53888?

CVE-2025-53888 affects RIOT-OS versions up to and including 2025.04.

4

What implications does CVE-2025-53888 have for IoT devices?

CVE-2025-53888 may expose IoT devices to buffer overflow attacks, compromising device security and stability.

5

Are production builds of RIOT-OS safe from CVE-2025-53888?

Production builds of RIOT-OS may be at risk if assertions are not properly handled, as they are typically compiled out.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203