Skip to main content

Open CASCADE Technology CVE-2026-42476

| EUVDEUVD-2026-26599 HIGH
Out-of-bounds Read (CWE-125)
2026-05-01 mitre
7.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious STL with short lines
  2. Delivery
    Deliver file via email/download
  3. Exploit
    Victim opens in OCCT-based CAD app
  4. Execution
    Parser calls ReadLine with insufficient validation
  5. Persist
    Trigger heap buffer over-read
  6. Impact
    Crash 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

NVD PRIMARY 7.1 HIGH
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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
May 01, 2026 - 17:52 NVD
7.1 (HIGH)
CVE Published
May 01, 2026 - 00:00 nvd
HIGH 7.1

DescriptionNVD

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 98% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy