Rt ThreadApplication

CVE-2024-25395

HIGH · 8.8 CVSS v3.1 Published 2024-03-27
Fix available
A fix is available. Upgrade to after 5.0.2 or later.
See remediation →
94/100
Remediation priority · Urgent
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
A buffer overflow occurs in utilities/rt-link/src/rtlink.c in RT-Thread through 5.0.2.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

A buffer overflow vulnerability exists in the rtlink.c file within the utilities/rt-link component of RT-Thread real-time operating system through version 5.0.2. The vulnerability allows potential remote or local attackers to exploit improper bounds checking, potentially leading to code execution or denial of service.

MitigationUpgrade RT-Thread to version 5.0.3 or later which contains the patch for this vulnerability. If upgrading is not immediately feasible, implement input validation and bounds checking in the rtlink.c file to prevent buffer overflows.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Rt ThreadApplication
Affected:<= 5.0.2

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Confirm RT-Thread is the operating system in use
    Identify the OS by checking system files, build configurations, or boot logs for 'RT-Thread' or 'rt-thread' references
    Affected if The system runs RT-Thread as the underlying real-time operating system
  2. Determine the installed RT-Thread version
    Check the version via build configuration files (Kconfig), version headers (typically in include/rtdef.h or similar), or the RT-Thread package manager configuration showing the version number
    Affected if The version is 5.0.2 or earlier
  3. Locate the rtlink.c source file in the utilities/rt-link component
    Search the codebase or firmware image for the file 'rtlink.c' within a 'utilities/rt-link' directory path or module
    Affected if The rtlink.c file exists in the rt-link component of the codebase
  4. Verify the rt-link utility is enabled or compiled into the firmware
    Inspect the RT-Thread configuration (RT-Thread Studio project, Kconfig, or menuconfig) to see if 'rt-link' or 'RT_USING_RTLINK' is selected and compiled
    Affected if The rt-link utility module is enabled and compiled into the system
  5. Check for buffer overflow vulnerabilities in rtlink.c
    If source code is accessible, review rtlink.c for memcpy, strcpy, or similar functions lacking proper bounds checking on the buffer operations referenced in the vulnerability
    Affected if The code contains unbounded buffer operations in rtlink.c and the rt-link component is in use

A user is affected if they are running RT-Thread version 5.0.2 or earlier with the rt-link utility component enabled and the vulnerable rtlink.c file present in their build.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to a release after 5.0.2
Interim mitigation

Upgrade RT-Thread to version 5.0.3 or later which contains the patch for this vulnerability. If upgrading is not immediately feasible, implement input validation and bounds checking in the rtlink.c file to prevent buffer overflows.

Fix this in Rt Thread Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing4.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,080
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-25395 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-25395 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data