### 漏洞概述 Open CASCADE Technology (OCCT) 存在多个内存安全漏洞(CVE-2026-42476 至 CVE-2026-42481)。这些漏洞涉及 STL ASCII 解析器、OBJ 解析器、VRML 解析器以及 IGES/STEP 解析器中的堆溢出和栈溢出问题。 ### 影响范围 - **受影响版本**:OCCT ≤ 7.8.1,master 分支直到 commit c540f316。 - **报告者**:Feng Wang, Innora Security Research ([cpp@innora.ai](mailto:cpp@innora.ai))。 - **披露日期**:2026-04-30。 ### 修复方案 1. **CVE-2026-42476 – STL ASCII Parser Heap OOB Read** - **修复**:在解析前验证 `ReadLine` 返回的长度。 2. **CVE-2026-42477 – OBJ Parser Heap OOB Read** - **修复**:检查 `aline + 2` 是否超过行缓冲区长度后再解引用。 3. **CVE-2026-42478/42479/42480 – VRML V2.0 Parser OOB Read (Three Paths)** - **修复**:在所有 `coordIndex/normalIndex` 解引用前添加 `> 0 && min.stl # CVE-2026-42479: 17526-byte VRML triggers heap OOB in IndexedLineSet # CVE-2026-42480: 30363-byte VRML triggers stack OOB in ReadLine # CVE-2026-42478: 204-byte VRML triggers wild-addr-read in IndexedFaceSet ``` ### 确认信息 - **确认版本**:OCCT 7.8.1 和 master (commit c540f316)。 - **来源**:Innora Security Research – [https://innora.ai](https://innora.ai)