CVE 9.8 CRITICAL

CVE-2025-70085_CVE-2025-70085

9.8 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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 Analysis

Stack buffer overflow vulnerability due to unsafe sprintf calls in file.c

Basic Information

ID CVE-2025-70085
Source mitre
Published Feb 11, 2026 at 00:00
Modified Feb 12, 2026 at 15:02

Affected Product

Vendor OpenSatKit
Product OpenSatKit
Version 2.2.1
Affected Versions n/a n/a n/a

CWE Classification

AI Assessment

AI Score 9.8 / 10
AI Severity Critical
Vendor OpenSatKit
Product OpenSatKit
Version 2.2.1

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.