Skip to main content
Vulnerability Database/CVE-2026-105164

CVE-2026-105164: NASA cFS Buffer Overflow Vulnerability

CVE-2026-105164 is a buffer overflow flaw in NASA cFS that enables out-of-bounds read attacks through the CFE_FS_ParseInputFileNameEx function. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-105164 Overview

CVE-2026-105164 is an out-of-bounds read vulnerability in NASA's Core Flight System (cFS) through version 7.0.1. The flaw resides in the CFE_FS_ParseInputFileNameEx function located in cfe/modules/fs/fsw/src/cfe_fs_api.c. An attacker with high privileges can trigger the issue remotely by manipulating input processed by the file name parser. The weakness is classified under [CWE-119] (Improper Restriction of Operations within the Bounds of a Memory Buffer). A pull request addressing the defect is pending acceptance at the time of publication.

Critical Impact

Successful exploitation enables remote reads beyond allocated buffer boundaries in cFS, which can disclose adjacent memory contents or destabilize flight-software processes running the Core Flight Executive (cFE).

Affected Products

  • NASA Core Flight System (cFS) versions up to and including 7.0.1
  • Core Flight Executive (cFE) File System module (cfe_fs_api.c)
  • Downstream mission builds that embed the vulnerable CFE_FS_ParseInputFileNameEx routine

Discovery Timeline

  • 2026-10-04 - CVE-2026-105164 published to the National Vulnerability Database
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-105164

Vulnerability Analysis

The defect sits inside CFE_FS_ParseInputFileNameEx, a helper used by cFS to normalize and parse input file names supplied to the file system subsystem. The function reads past the end of a caller-provided buffer when parsing specific input, producing an out-of-bounds read condition tracked under [CWE-119]. Because cFS runs as the host flight-software framework for spacecraft and ground-support applications, the leaked bytes can include control structures, pointers, or telemetry data residing adjacent to the parsed string. The upstream fix is proposed in GitHub cFS Pull Request #984 and discussed in GitHub cFS Issue #893.

Root Cause

The parser does not correctly validate the length of the input file name against the bounds of its working buffer. When an input omits an expected terminator or specifies a boundary that the parser trusts without re-checking, the function iterates past the allocated region. This boundary-condition error allows memory beyond the intended range to be read and returned through parser state or indirectly observable behavior.

Attack Vector

Exploitation requires network reachability to a cFS-based service and the ability to submit a file-name argument to an application that invokes CFE_FS_ParseInputFileNameEx. The CVSS vector indicates high privileges are required and no user interaction is needed. Impact is scoped to limited availability degradation of the affected process. In mission contexts where cFS exposes command interfaces over authenticated links, an authorized operator or a compromised upstream component could deliver the malformed input.

No verified proof-of-concept code is available. Technical details are described in VulDB CVE-2026-105164 and the upstream GitHub cFS Issue #893.

Detection Methods for CVE-2026-105164

Indicators of Compromise

  • Unexpected crashes or restarts of cFE applications that invoke the File Services (CFE_FS) API
  • Telemetry entries referencing CFE_FS_ParseInputFileNameEx in error logs or event messages
  • Malformed or oversized file-name parameters appearing in command uplink audit records

Detection Strategies

  • Instrument cFS builds with AddressSanitizer or Valgrind in test environments to surface out-of-bounds reads in cfe_fs_api.c
  • Review event service (CFE_EVS) logs for anomalous events generated by file-system calls originating from untrusted command sources
  • Perform static analysis against the CFE_FS_ParseInputFileNameEx call graph to identify callers that pass unvalidated input

Monitoring Recommendations

  • Capture and retain command and telemetry streams interacting with the cFS File Services module for forensic review
  • Alert on repeated failed file-name parsing events, which may indicate probing of the vulnerable code path
  • Correlate ground-system command audit trails with onboard event logs to detect anomalous file-name inputs

How to Mitigate CVE-2026-105164

Immediate Actions Required

  • Inventory mission builds and ground tools that embed NASA cFS at or below version 7.0.1
  • Restrict command interfaces that reach CFE_FS APIs to the minimum required operator accounts
  • Apply the patch from GitHub cFS Pull Request #984 once merged, or carry it as a local fix in downstream forks

Patch Information

At the time of publication, the upstream fix is proposed in GitHub cFS Pull Request #984 and awaits acceptance. Monitor the NASA cFS repository for the merged change and incorporate it into mission software builds following standard flight-software verification and validation procedures.

Workarounds

  • Validate and length-check file-name arguments in calling applications before invoking CFE_FS_ParseInputFileNameEx
  • Disable or gate any cFS application that exposes file-name parsing to remote command input until the patch is deployed
  • Enforce authentication and integrity controls on command links so that only vetted operators can reach the vulnerable code path
bash
# Reference the upstream fix in a local build
git clone https://github.com/nasa/cFS.git
cd cFS
git fetch origin pull/984/head:fix-cve-2026-105164
git checkout fix-cve-2026-105164
# Rebuild and run mission regression tests before deployment

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.