# CVE-2025-70085: An issue was discovered in OpenSatKit 2.2.1.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-02-11T00:00:00.000Z
- Modified: 2026-06-17T10:03:07.327Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- opensatkit opensatkit: 2.2.1

## References

- <https://github.com/OpenSatKit/OpenSatKit> (product)
- <https://github.com/OpenSatKit/OpenSatKit/releases/tag/v2.2.1> (release-notes)
- <https://raw.githubusercontent.com/OpenSatKit/OpenSatKit/master/cfs/apps/filemgr/fsw/src/file.c> (third-party-advisory)
- <https://gist.github.com/jonafk555> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-70085](https://www.cve.org/CVERecord?id=CVE-2025-70085), CVE Terms of Use, modified 2026-02-12
- NVD: [CVE-2025-70085](https://nvd.nist.gov/vuln/detail/CVE-2025-70085), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-70085 · Whole record: https://cve.day/CVE-2025-70085.json · Rebuilt by cve.day 2026-11-25T22:59:11.150Z
