SecurityContext

CVE-2025-53888: RIOT-OS - Buffer Overflow

  • Cve: CVE-2025-53888
  • Name: RIOT-OS - Buffer Overflow
  • Description: 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 `l2filter_add()` function shown below, `addr_len` 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 `addr_len`. As a consequence, if an attacker were to provide an `addr_len` value larger than `CONFIG_L2FILTER_ADDR_MAXLEN`, 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.
  • Impact: Attackers can cause denial of service or execute arbitrary code by triggering buffer overflow via unchecked input.
  • Remediation: Update to the version including commit f6f7de4ccc107c018630e4c15500825caf02e1c2 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00861
  • Epss percentile: 0.59274
  • Assignee: [email protected]
  • Published at: 2025-07-18T16:15:29Z
  • Age in days: 494
  • Modified at: 2026-06-17T09:39:04Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-53888
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-120Buffer Copy without Checking Size of Input

Public exploits

UrlSourceAdded date
https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-7972-w7f9-3j9mnvd2025-07-18

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/RIOT-OS/RIOT/commit/f6f7de4ccc107c018630e4c15500825caf02e1c2Patch
https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-7972-w7f9-3j9mExploit, Vendor Advisory
https://github.com/RIOT-OS/RIOT/blob/2025.04/sys/net/link_layer/l2filter/l2filter.c#L47Product

Products

ProductAffectedPlatform boundSourcesUrl
riot-os:riot<= 2025.04nonvd/v1/products/riot-os/riot

Projects

RepositoryLink kindsIndexedUrl
RIOT-OS/RIOTcommit, fix, security_advisoryyes/v1/repositories/RIOT-OS/RIOT

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-07-18
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts