CVE-2025-70085

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:opensatkit:opensatkit:2.2.1:*:*:*:*:*:*:*

History

17 Feb 2026, 15:02

Type Values Removed Values Added
CPE cpe:2.3:a:opensatkit:opensatkit:2.2.1:*:*:*:*:*:*:*
First Time Opensatkit opensatkit
Opensatkit
References () https://gist.github.com/jonafk555 - () https://gist.github.com/jonafk555 - Third Party Advisory
References () https://github.com/OpenSatKit/OpenSatKit - () https://github.com/OpenSatKit/OpenSatKit - Product
References () https://github.com/OpenSatKit/OpenSatKit/releases/tag/v2.2.1 - () https://github.com/OpenSatKit/OpenSatKit/releases/tag/v2.2.1 - Release Notes
References () https://raw.githubusercontent.com/OpenSatKit/OpenSatKit/master/cfs/apps/filemgr/fsw/src/file.c - () https://raw.githubusercontent.com/OpenSatKit/OpenSatKit/master/cfs/apps/filemgr/fsw/src/file.c - Third Party Advisory

12 Feb 2026, 16:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CWE CWE-121

11 Feb 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-11 18:16

Updated : 2026-02-17 15:02


NVD link : CVE-2025-70085

Mitre link : CVE-2025-70085

CVE.ORG link : CVE-2025-70085


JSON object : View

Products Affected

opensatkit

  • opensatkit
CWE
CWE-121

Stack-based Buffer Overflow