Two heap-based out-of-bounds read vulnerabilities in the STL ASCII file parser in Open CASCADE Technology (OCCT) V800rc5 exist in RWStlReader::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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42476.json",
"cna_assigner": "mitre"
}{
"cpe": [
"cpe:2.3:a:opencascade:open_cascade_technology:*:*:*:*:*:*:*:*",
"cpe:2.3:a:opencascade:open_cascade_technology:8.0.0:beta1:*:*:*:*:*:*",
"cpe:2.3:a:opencascade:open_cascade_technology:8.0.0:rc1:*:*:*:*:*:*",
"cpe:2.3:a:opencascade:open_cascade_technology:8.0.0:rc2:*:*:*:*:*:*",
"cpe:2.3:a:opencascade:open_cascade_technology:8.0.0:rc3:*:*:*:*:*:*",
"cpe:2.3:a:opencascade:open_cascade_technology:8.0.0:rc4:*:*:*:*:*:*",
"cpe:2.3:a:opencascade:open_cascade_technology:8.0.0:rc5:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "7.9.3"
},
{
"introduced": "8.0.0-beta1"
},
{
"last_affected": "8.0.0-beta1"
},
{
"introduced": "8.0.0-rc1"
},
{
"last_affected": "8.0.0-rc1"
},
{
"introduced": "8.0.0-rc2"
},
{
"last_affected": "8.0.0-rc2"
},
{
"introduced": "8.0.0-rc3"
},
{
"last_affected": "8.0.0-rc3"
},
{
"introduced": "8.0.0-rc4"
},
{
"last_affected": "8.0.0-rc4"
},
{
"introduced": "8.0.0-rc5"
},
{
"last_affected": "8.0.0-rc5"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING"
]
}