CVE-2025-70085 Details
Description
An issue was discovered in OpenSatKit 2.2.1. The EventErrStr buffer has a fixed size of 256 bytes. The code uses sprintf to format two filenames (Source1Filename and the string returned by FileUtil_FileStateStr) into this buffer without any length checking and without using bounded format specifiers such as %.*s. If the filename length approaches OS_MAX_PATH_LEN (commonly 64-256 bytes), the combined formatted string together with constant text can exceed 256 bytes, resulting in a stack buffer overflow. Such unsafe sprintf calls are scattered across multiple functions in file.c, including FILE_ConcatenateCmd() and ConcatenateFiles(), all of which fail to validate the output length.
A stack buffer overflow vulnerability has been identified in OpenSatKit version 2.2.1. The issue arises in the file management module, specifically within the 'file.c' source file. The vulnerability is caused by the 'EventErrStr' buffer, which is fixed at 256 bytes, being populated with user-controlled filenames via 'sprintf'. This formatting is done without proper length validation or the use of safe format specifiers. If the combined length of the filenames approaches the maximum path length allowed by the operating system, the buffer can be overflowed, leading to memory corruption. This unsafe use of 'sprintf' is present in multiple functions, including 'FILE_ConcatenateCmd()' and 'ConcatenateFiles()', where it goes unchecked before the message is sent through the event reporting system.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/jonafk555 | [email protected] | Third Party Advisory |
| https://github.com/OpenSatKit/OpenSatKit | [email protected] | Product |
| https://github.com/OpenSatKit/OpenSatKit/releases/tag/v2.2.1 | [email protected] | Release Notes |
| https://raw.githubusercontent.com/OpenSatKit/OpenSatKit/master/cfs/apps/filemgr/fsw/src/file.c | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| opensatkit opensatkit | 2.2.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 17, 2026 | Initial Analysis | [email protected] |
| Feb 12, 2026 | CVE Modified | CISA-ADP |
| Feb 11, 2026 | New CVE Received | [email protected] |