CVE-2026-138373 in AST
Summary
by MITRE • 11/29/2026
Starlink AST before 9.6.0 contains a heap buffer overflow vulnerability in src/frame.c that allows attackers to write out of bounds by supplying unchecked Prm axis permutation values. Attackers can provide a crafted serialised Frame read with astRead() and written with astWrite(), causing Dump() to perform a 4-byte heap write that crashes the application.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/29/2026
The vulnerability identified in Starlink AST versions prior to 9.6.0 represents a critical memory safety flaw located within the src/frame.c module, specifically manifesting as a heap buffer overflow. This issue arises from insufficient validation of input data during the processing of astronomical frame objects, which are fundamental components for coordinate transformations and data manipulation within the library. The core technical defect involves the handling of Prm axis permutation values, which define how axes in an astronomical dataset are mapped or reordered. When these permutation values are supplied without rigorous bounds checking, they can be manipulated by an attacker to exceed the allocated memory boundaries of internal heap structures. This lack of input sanitization allows for out-of-bounds writes, a classic vulnerability class that undermines the integrity and stability of the application executing the library code.
The operational impact of this flaw is significant because it enables remote or local attackers to cause denial of service conditions through application crashes. The attack vector typically involves providing a crafted serialized Frame object, which can be read using the astRead function and subsequently written back out using astWrite. During these operations, particularly when internal dumping mechanisms like Dump() are invoked, the system attempts to process the malformed permutation data. This triggers a four-byte heap write operation that targets memory locations outside the intended buffer allocation. Such an overflow corrupts adjacent memory structures, leading to immediate application termination or crash. While the primary observed effect is a denial of service due to instability, out-of-bounds writes in C-based libraries can sometimes be leveraged for more severe consequences depending on the surrounding memory layout and execution context, potentially allowing for arbitrary code execution if an attacker can precisely control the overwritten data and return addresses.
From a security classification perspective, this vulnerability aligns with CWE-122, which denotes heap-based buffer overflow, characterized by writing beyond the bounds of a dynamically allocated block of memory. It also relates to CWE-20, Improper Input Validation, as the root cause is the failure to validate the Prm axis permutation values before use. In terms of adversary tactics, this vulnerability can be exploited within the ATT&CK framework under techniques associated with exploitation for denial of service or potentially privilege escalation if combined with other vulnerabilities in a larger system architecture. The specific mechanism of using serialized objects highlights risks inherent in deserialization processes where trust boundaries are not strictly enforced between data sources and processing logic.
Mitigation strategies must prioritize immediate software updates to version 9.6.0 or later, where the developers have addressed these input validation gaps. For environments unable to upgrade immediately, defensive programming practices should be implemented at the application layer wrapping AST calls. This includes validating all serialized frame inputs before passing them to astRead and ensuring that any permutation parameters are within expected logical bounds prior to processing. Additionally, enabling compiler-based security features such as stack canaries or heap protection mechanisms like AddressSanitizer during development and testing phases can help detect similar issues early in the software lifecycle. Regular code audits focusing on memory management functions and deserialization routines are essential to maintain robustness against these types of low-level exploitation attempts.