Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious STL with short lines
-
DeliveryDeliver file via email/download
-
ExploitVictim opens in OCCT-based CAD app
-
ExecutionParser calls ReadLine with insufficient validation
-
PersistTrigger heap buffer over-read
-
ImpactCrash application or leak memory
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires victim user interaction to open a specially crafted STL ASCII file using an application built with Open CASCADE Technology version V8_0_0_rc5. The vulnerable code path is triggered specifically when the STL file parser encounters extremely short lines that cause Standard_ReadLineBuffer::ReadLine() to return buffers smaller than expected by subsequent strncasecmp or byte access operations in RWStl_Reader::ReadAscii. Exploitation is limited to systems running the specific release candidate version V8_0_0_rc5 - stable production versions may or may not be affected (unconfirmed). The attack requires local access (AV:L) meaning the malicious file must be delivered to and opened on the target system, typically through social engineering, email attachments, or download from compromised model repositories. No special user privileges are required (PR:N) and attack complexity is low (AC:L) once file delivery succeeds. Applications must have STL ASCII parsing functionality enabled and accessible to users. Binary STL files do not trigger this vulnerability as it is specific to the ASCII parser code path. |
| Impact | Real-world risk is moderate despite the CVSS 7.1 score. The attack vector is local (AV:L) requiring user interaction (UI:R) - attackers must socially engineer victims into opening malicious STL files, typical of file format parsing vulnerabilities in design software. Attack complexity is low (AC:L) and requires no privileges (PR:N), making exploitation straightforward once file delivery succeeds. The dual impact of high confidentiality breach (C:H) via information disclosure and high availability impact (A:H) via denial of service creates serious consequences for affected environments, particularly industrial CAD workflows processing untrusted 3D models. However, no EPSS score is provided to quantify exploitation probability. Absence from CISA KEV indicates no confirmed widespread or targeted exploitation. The vulnerability affects a release candidate version (V8_0_0_rc5) rather than a stable production release, potentially limiting real-world deployment exposure. Technical details published via GitHub Gist lower the barrier for exploit development but no weaponized proof-of-concept is confirmed. Key risk factors depend on whether production environments run this specific RC version and regularly process STL files from untrusted sources. The scope is unchanged (S:U), limiting impact to the vulnerable parser process. CRITICAL GAP: No patch status, affected stable version range, or vendor advisory data available - defenders cannot confirm if production OCCT versions are vulnerable or if fixes exist in later releases. |
| Exploit ScenarioDerived | An attacker crafts a malicious STL ASCII file containing extremely short lines that violate expected buffer length assumptions in the RWStl_Reader::ReadAscii parser. The file is delivered via email, file-sharing platform, or 3D model repository disguised as legitimate CAD data. When a victim engineer or designer opens the file in CAD software using OCCT V8_0_0_rc5 (e.g., FreeCAD, custom industrial design application), the parser invokes Standard_ReadLineBuffer::ReadLine() which returns undersized buffers. Subsequent strncasecmp operations or direct byte access attempts read beyond heap boundaries, either crashing the application (denial of service disrupting design workflows) or leaking adjacent process memory containing sensitive data such as other design files, authentication tokens, or proprietary geometry. Technical details published in the referenced GitHub Gist enable attackers to construct reliable exploit files without extensive reverse engineering. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 01, 2026
Heap-based out-of-bounds reads in Open CASCADE Technology (OCCT) V8_0_0_rc5 STL ASCII parser allow local attackers to trigger denial of service or disclose process memory by convincing users to open maliciously crafted STL files with extremely short lines. The vulnerability stems from improper length validation of buffers returned by Standard_ReadLineBuffer::ReadLine() before strncasecmp operations or direct byte access in RWStl_Reader::ReadAscii. CVSS score of 7.1 reflects high confidentiality and availability impact requiring user interaction. No public exploit code, active exploitation (CISA KEV), or vendor patch information identified at time of analysis, though technical details are publicly available via GitHub Gist.
RemediationAI
No vendor-released patch or fixed version is identified in the available data. Organizations using Open CASCADE Technology V8_0_0_rc5 should check the official OCCT GitHub repository (https://github.com/Open-Cascade-SAS/OCCT) and Open CASCADE website for security advisories addressing CVE-2026-42476, particularly in stable 8.0.0 or later releases. If a patched version is released, upgrade OCCT library and recompile dependent applications. Compensating controls for unpatched environments: (1) Restrict STL file processing to trusted sources only - implement file origin validation before parsing, though this may break workflows requiring external model import; (2) Deploy OCCT-based applications in sandboxed environments (containers, VMs with limited privileges) to contain information disclosure impact, with overhead of maintaining isolated runtime environments; (3) Implement input validation wrapper to pre-scan STL files for abnormally short lines before passing to OCCT parser, though this requires custom development and may not catch all malformed inputs; (4) Disable STL ASCII format support if binary STL processing suffices for operational requirements, eliminating attack surface but reducing file format compatibility. The GitHub Gist reference (https://gist.github.com/sgInnora/dfba083d04906283e9c92aea78e2d94a) may contain additional technical details useful for developing detection signatures or input validation rules.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Open CASCADE Technology (OCCT) is an open-source 3D modeling framework widely used in CAD/CAM/CAE applications for geometric processing and visualization. The vulnerability resides in the STL (STereoLithography) ASCII file parser, specifically in the RWStl_Reader::ReadAscii function which processes text-based 3D mesh data. STL ASCII files describe triangular mesh geometry using human-readable text. The parser uses Standard_ReadLineBuffer::ReadLine() to read file lines but fails to validate buffer lengths before passing them to strncasecmp (case-insensitive string comparison) or performing direct byte-level operations. When processing malformed STL files with extremely short lines, the parser attempts to read beyond allocated heap buffer boundaries (CWE-125: Out-of-bounds Read). This heap-based buffer over-read can leak adjacent memory contents or cause process crashes when invalid memory regions are accessed. The affected version V8_0_0_rc5 indicates a release candidate build, suggesting pre-production code.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
Two heap-based out-of-bounds read vulnerabilities in the STL ASCII file parser in Open CASCADE Technology (OCCT) V8_0_0_rc5 exist in RWStl_Reader::ReadAscii because buffers returned by Standard_ReadLineBuffer::ReadLine() are not properly length-validated before strncasecmp or direct byte access. User-assisted attackers can trigger these issues by persuading a victim to open a crafted STL file with extremely short lines, resulting in a denial of service or possible information disclosure.
Executive ViewAI
Open CASCADE Technology (OCCT) V8_0_0_rc5 contains a heap-based buffer vulnerability in its STL file parser that allows attackers to crash applications or extract sensitive memory data when users open specially crafted STL files. Organizations using OCCT for CAD/3D modeling workflows face service disruption and potential data exfiltration risks, particularly in engineering and manufacturing environments where STL file sharing is common.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict STL file imports to trusted, pre-validated sources only; (2) Implement application sandboxing or containerization to limit memory disclosure scope; (3) Deploy file-type validation and size limits on incoming STL files before parser processing; (4) Monitor OCCT upstream releases and apply updates immediately upon availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-26599
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB