CVE-2026-41144
JSON

0.0none

F´ (F Prime) has Integer Overflow in FileUplink

Severity
0.0none CVSS:3.1 by GitHub_M
Exploit likelihood
0.45% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

F´ (F Prime) is a framework that enables development and deployment of spaceflight and other embedded software applications. Prior to version 4.2.0, the bounds check byteOffset + dataSize > fileSize uses U32 addition that wraps around on overflow. An attacker-crafted DataPacket with byteOffset=0xFFFFFF9C and dataSize=100 overflows to 0, bypassing the check entirely. The subsequent file write proceeds at the original ~4GB offset. Additionally, Svc/FileUplink/File.cpp:20-31 performs no sanitization on the destination file path. Combined, these allow writing arbitrary data to any file at any offset. The impact is arbitrary file write leading to remote code execution on embedded targets. Note that this is a logic bug. ASAN does not detect it because all memory accesses are within valid buffers — the corruption occurs in file I/O. Version 4.2.0 contains a patch. No known workarounds are available.

Affected

Product or packageVersionsReported by
nasa fprime< 4.2.0, 4.1.1CVE List, NVD

All scores

GitHub_M0.0none CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-190CWE-787

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

F´ (F Prime) is a framework that enables development and deployment of spaceflight and other embedded software applications. Prior to version 4.2.0, the bounds check byteOffset + dataSize > fileSize uses U32 addition that wraps around on overflow. An attacker-crafted DataPacket with byteOffset=0xFFFFFF9C and dataSize=100 overflows to 0, bypassing the check entirely. The subsequent file write proceeds at the original ~4GB offset. Additionally, Svc/FileUplink/File.cpp:20-31 performs no sanitization on the destination file path. Combined, these allow writing arbitrary data to any file at any offset. The impact is arbitrary file write leading to remote code execution on embedded targets. Note that this is a logic bug. ASAN does not detect it because all memory accesses are within valid buffers — the corruption occurs in file I/O. Version 4.2.0 contains a patch. No known workarounds are available.

NVD (es)

F’ (F Prime) es un framework que permite el desarrollo y la implementación de aplicaciones de software para vuelos espaciales y otras aplicaciones embebidas. Antes de la versión 4.2.0, la comprobación de límites byteOffset + dataSize > fileSize utiliza una suma U32 que se ajusta en caso de desbordamiento. Un DataPacket creado por un atacante con byteOffset=0xFFFFFF9C y dataSize=100 se desborda a 0, eludiendo completamente la comprobación. La escritura de archivo subsiguiente procede en el desplazamiento original de ~4GB. Además, Svc/FileUplink/File.cpp:20-31 no realiza ninguna sanitización en la ruta del archivo de destino. Combinado, esto permite escribir datos arbitrarios en cualquier archivo en cualquier desplazamiento. El impacto es una escritura de archivo arbitraria que conduce a la ejecución remota de código en objetivos embebidos. Tenga en cuenta que esto es un error de lógica. ASAN no lo detecta porque todos los accesos a memoria están dentro de búferes válidos - la corrupción ocurre en la E/S de archivos. La versión 4.2.0 contiene un parche. No se conocen soluciones alternativas disponibles.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-41144 changed 2026-04-22CVE Terms of Use
NVDCVE-2026-41144 changed 2026-10-26Public domain