CVE-2025-70085

Source
https://cve.org/CVERecord?id=CVE-2025-70085
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-70085.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-70085
Published
2026-02-11T00:00:00Z
Modified
2026-08-12T03:51:43Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70085.json"
}
References

Affected packages

Git / github.com/opensatkit/opensatkit

Affected ranges

Type
GIT
Repo
https://github.com/opensatkit/opensatkit
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:opensatkit:opensatkit:2.2.1:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.2.1"
        },
        {
            "last_affected": "2.2.1"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.2.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-70085.json"