CVE-2025-70085
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3cpe:2.3:a:opensatkit:opensatkit:2.2.1:*:*:*:*:*:*:*+ 2 more
- cpe:2.3:a:opensatkit:opensatkit:2.2.1:*:*:*:*:*:*:*
- (no CPE)
- (no CPE)range: =2.2.1
Patches
Vulnerability mechanics
References
3- gist.github.com/jonafk555nvdThird Party Advisory
- raw.githubusercontent.com/OpenSatKit/OpenSatKit/master/cfs/apps/filemgr/fsw/src/file.cnvdThird Party Advisory
- github.com/OpenSatKit/OpenSatKit/releases/tag/v2.2.1nvdRelease Notes
News mentions
0No linked articles in our index yet.