CVE-2025-65882
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 issue was discovered in openmptcprouter thru 0.64 in file common/package/utils/sys-upgrade-helper/src/tools/sysupgrade.c in function create_xor_ipad_opad allowing attackers to potentially write arbitrary files or execute arbitrary commands.
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 confidenceA file write and potential command injection vulnerability exists in OpenMPTCPRouter's sys-upgrade-helper component. The create_xor_ipad_opad function in sysupgrade.c allows attackers to write arbitrary files or execute arbitrary commands, likely due to improper path validation or input sanitization when handling upgrade-related files.
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<= 0.64CVSS 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
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/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 checksWork through these to decide whether this CVE applies to you.
-
Identify OpenMPTCPRouter installation and versionCheck the installed OpenMPTCPRouter version using the system package manager or by examining the system information through the admin interface or command line (e.g., opkg list-installed | grep openmptcprouter or checking /etc/openmptcprouter_version)Affected if The installed version is 0.64 or lower
-
Locate the sysupgrade.c fileSearch for the sysupgrade.c source file in the OpenMPTCPRouter installation directory or firmware build tree (common paths include /usr/src or the build system's package sources)Affected if The sysupgrade.c file exists and contains the create_xor_ipad_opad function
-
Verify the vulnerable function existsExamine sysupgrade.c for the create_xor_ipad_opad function and inspect its input handling - look for parameters that accept user-controlled paths or data without proper validationAffected if The function accepts path or input parameters without sanitization checks (e.g., no validation of ../ sequences or shell metacharacters)
-
Check if sysupgrade functionality is accessibleDetermine if the sysupgrade feature is enabled on the device - this may be accessible via the web interface, API endpoint, or command-line tool used for firmware updatesAffected if The sysupgrade functionality is exposed and usable on the device
-
Determine exposure to networkAssess whether the sysupgrade interface is reachable from the network or requires local access - check firewall rules, web server bindings, and authentication requirementsAffected if The sysupgrade interface is accessible remotely without strong access controls
A user is affected if they are running OpenMPTCPRouter version 0.64 or lower and the sysupgrade functionality with the vulnerable create_xor_ipad_opad function is accessible on their system.
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 · scopedUpgrade to a patched version of OpenMPTCPRouter beyond 0.64. If no patch is available, restrict network access to the sys-upgrade-helper functionality and audit the affected system for unauthorized changes.
OpenMPTCProuter 0.65 or later (any release after 0.64 containing the security fix)
- 1. Backup your current OpenMPTCProuter configuration before proceeding with any upgrade.
- 2. Download or access the latest OpenMPTCProuter release from the official GitHub repository at github.com/Ysurac/openmptcprouter.
- 3. Ensure you obtain version 0.65 or later (any version higher than 0.64).
- 4. Upgrade your OpenMPTCProuter installation to the fixed version using the standard upgrade procedure.
- 5. After upgrade, verify that the sys-upgrade-helper component has been updated by checking the version or reviewing the code changes from commit 09393d1c41a227bea7d5b85c0a06221b1302b25f.
- 6. Test that the sys-upgrade functionality works correctly without command injection vulnerabilities.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-65882 — 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-2025-65882 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