CVE-2024-25392
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 · uneditedAn out-of-bounds access occurs in utilities/var_export/var_export.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 · low confidenceAn out-of-bounds memory access vulnerability exists in the var_export utility component of RT-Thread (an embedded real-time operating system). The flaw is located in utilities/var_export/var_export.c and allows memory access beyond allocated buffer boundaries, potentially leading to crashes or unpredictable behavior.
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<= 5.0.2CVSS 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
- Local
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
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 checksWork through these to decide whether this CVE applies to you.
-
Check RT-Thread version in useLocate the version definition in your RT-Thread distribution. In the root directory or in a version header file (commonly found in include/rtdef.h or similar), find the RT_THREAD_VERSION constant or the version.txt file. Compare the version number to the affected range <= 5.0.2.Affected if The installed RT-Thread version is 5.0.2 or lower.
-
Verify var_export component is enabled in build configurationExamine your build configuration files (such as Kconfig, .config, or defconfig files in your build directory). Search for any configuration option related to var_export, typically named RT_USING_VAR_EXPORT or similar. Check if this option is set to enabled (often denoted as 'y' or '=y').Affected if The var_export component is enabled (RT_USING_VAR_EXPORT or equivalent is set) in the build configuration.
-
Confirm var_export source file is compiledInspect your build output or object files directory. Look for var_export.c in the compiled objects, typically under the utilities/var_export path. Check if var_export.o or var_export.a exists in the build artifacts.Affected if The var_export.c source file is present and was compiled into the firmware or application binary.
-
Check for var_export usage in application codeSearch your application source code for calls to var_export functions. Look for include statements referencing var_export.h and any function invocations such as var_export() or rt_var_export(). Review the source files in your project for these patterns.Affected if The application code includes var_export.h or calls var_export functions.
A system is affected if it runs RT-Thread version 5.0.2 or lower AND has the var_export utility component enabled and included in the build.
Generated from the published advisory. Verify against your own configuration.
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.
dbcve · scopedUpdate to a patched version of RT-Thread when available. Until then, restrict or disable the var_export utility in production deployments to minimize attack surface.
RT-Thread 5.1.0 or later stable release
- 1. Identify the current RT-Thread version in use by checking the version define in rtconfig.h or the version.h header file
- 2. Obtain the latest stable RT-Thread release (version 5.1.0 or later) from the official GitHub repository at github.com/RT-Thread/rt-thread
- 3. Review the release notes for version 5.1.0 to confirm the var_export.c vulnerability (CVE-2024-25392) has been addressed
- 4. Backup the current project configuration and any custom modifications to source files
- 5. Replace the rt-thread directory with the new version from the official repository
- 6. Re-apply any necessary custom configurations and driver implementations
- 7. Rebuild the project and verify all components compile successfully
- 8. Perform functional testing to ensure the system operates correctly with the updated version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-25392 — 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-25392 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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