Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Opensatkit | Opensatkit | 2.2.1 |
Related Weaknesses (CWE)
References
- https://gist.github.com/jonafk555Third Party Advisory
- https://github.com/OpenSatKit/OpenSatKitProduct
- https://github.com/OpenSatKit/OpenSatKit/releases/tag/v2.2.1Release Notes
- https://raw.githubusercontent.com/OpenSatKit/OpenSatKit/master/cfs/apps/filemgr/Third Party Advisory
FAQ
What is CVE-2025-70085?
CVE-2025-70085 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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_Fi...
How severe is CVE-2025-70085?
CVE-2025-70085 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-70085?
Check the references section above for vendor advisories and patch information. Affected products include: Opensatkit Opensatkit.