UBUNTU-CVE-2026-42477 (CVE-2026-42477)
Vulnerability from osv_ubuntu – Published: 2026-05-01 15:16 – Updated: 2026-05-20 15:27 – Source websiteA heap-based out-of-bounds read vulnerability in RWObj_Reader::read in the OBJ file parser in Open CASCADE Technology (OCCT) V8_0_0_rc5 allows user-assisted attackers to cause a denial of service or obtain sensitive information by persuading a victim to open a crafted OBJ file. The issue occurs because Standard_ReadLineBuffer::ReadLine() can return a 1-byte buffer for a minimal OBJ line, and RWObj_Reader::read() calls pushIndices(aLine + 2) without validating the buffer length.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libocct-data-exchange-7.3",
"binary_version": "7.3.3+dfsg1-1build1"
},
{
"binary_name": "libocct-draw-7.3",
"binary_version": "7.3.3+dfsg1-1build1"
},
{
"binary_name": "libocct-foundation-7.3",
"binary_version": "7.3.3+dfsg1-1build1"
},
{
"binary_name": "libocct-modeling-algorithms-7.3",
"binary_version": "7.3.3+dfsg1-1build1"
},
{
"binary_name": "libocct-modeling-data-7.3",
"binary_version": "7.3.3+dfsg1-1build1"
},
{
"binary_name": "libocct-ocaf-7.3",
"binary_version": "7.3.3+dfsg1-1build1"
},
{
"binary_name": "libocct-visualization-7.3",
"binary_version": "7.3.3+dfsg1-1build1"
},
{
"binary_name": "occt-draw",
"binary_version": "7.3.3+dfsg1-1build1"
},
{
"binary_name": "occt-misc",
"binary_version": "7.3.3+dfsg1-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "opencascade",
"purl": "pkg:deb/ubuntu/opencascade@7.3.3+dfsg1-1build1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.3.3+dfsg1-1",
"7.3.3+dfsg1-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libocct-data-exchange-7.5",
"binary_version": "7.5.1+dfsg1-2ubuntu1"
},
{
"binary_name": "libocct-draw-7.5",
"binary_version": "7.5.1+dfsg1-2ubuntu1"
},
{
"binary_name": "libocct-foundation-7.5",
"binary_version": "7.5.1+dfsg1-2ubuntu1"
},
{
"binary_name": "libocct-modeling-algorithms-7.5",
"binary_version": "7.5.1+dfsg1-2ubuntu1"
},
{
"binary_name": "libocct-modeling-data-7.5",
"binary_version": "7.5.1+dfsg1-2ubuntu1"
},
{
"binary_name": "libocct-ocaf-7.5",
"binary_version": "7.5.1+dfsg1-2ubuntu1"
},
{
"binary_name": "libocct-visualization-7.5",
"binary_version": "7.5.1+dfsg1-2ubuntu1"
},
{
"binary_name": "occt-draw",
"binary_version": "7.5.1+dfsg1-2ubuntu1"
},
{
"binary_name": "occt-misc",
"binary_version": "7.5.1+dfsg1-2ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "opencascade",
"purl": "pkg:deb/ubuntu/opencascade@7.5.1+dfsg1-2ubuntu1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.5.1+dfsg1-2",
"7.5.1+dfsg1-2ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libocct-data-exchange-7.6t64",
"binary_version": "7.6.3+dfsg1-7.1build1"
},
{
"binary_name": "libocct-draw-7.6t64",
"binary_version": "7.6.3+dfsg1-7.1build1"
},
{
"binary_name": "libocct-foundation-7.6t64",
"binary_version": "7.6.3+dfsg1-7.1build1"
},
{
"binary_name": "libocct-modeling-algorithms-7.6t64",
"binary_version": "7.6.3+dfsg1-7.1build1"
},
{
"binary_name": "libocct-modeling-data-7.6t64",
"binary_version": "7.6.3+dfsg1-7.1build1"
},
{
"binary_name": "libocct-ocaf-7.6t64",
"binary_version": "7.6.3+dfsg1-7.1build1"
},
{
"binary_name": "libocct-visualization-7.6t64",
"binary_version": "7.6.3+dfsg1-7.1build1"
},
{
"binary_name": "occt-draw",
"binary_version": "7.6.3+dfsg1-7.1build1"
},
{
"binary_name": "occt-misc",
"binary_version": "7.6.3+dfsg1-7.1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "opencascade",
"purl": "pkg:deb/ubuntu/opencascade@7.6.3+dfsg1-7.1build1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.6.3+dfsg1-7",
"7.6.3+dfsg1-7.1",
"7.6.3+dfsg1-7.1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libocct-data-exchange-7.8",
"binary_version": "7.8.1+dfsg1-3"
},
{
"binary_name": "libocct-draw-7.8",
"binary_version": "7.8.1+dfsg1-3"
},
{
"binary_name": "libocct-foundation-7.8",
"binary_version": "7.8.1+dfsg1-3"
},
{
"binary_name": "libocct-modeling-algorithms-7.8",
"binary_version": "7.8.1+dfsg1-3"
},
{
"binary_name": "libocct-modeling-data-7.8",
"binary_version": "7.8.1+dfsg1-3"
},
{
"binary_name": "libocct-ocaf-7.8",
"binary_version": "7.8.1+dfsg1-3"
},
{
"binary_name": "libocct-visualization-7.8",
"binary_version": "7.8.1+dfsg1-3"
},
{
"binary_name": "occt-draw",
"binary_version": "7.8.1+dfsg1-3"
},
{
"binary_name": "occt-misc",
"binary_version": "7.8.1+dfsg1-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "opencascade",
"purl": "pkg:deb/ubuntu/opencascade@7.8.1+dfsg1-3?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.8.1+dfsg1-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libocct-data-exchange-7.9",
"binary_version": "7.9.2+dfsg-4"
},
{
"binary_name": "libocct-draw-7.9",
"binary_version": "7.9.2+dfsg-4"
},
{
"binary_name": "libocct-foundation-7.9",
"binary_version": "7.9.2+dfsg-4"
},
{
"binary_name": "libocct-ivtk-7.9",
"binary_version": "7.9.2+dfsg-4"
},
{
"binary_name": "libocct-modeling-algorithms-7.9",
"binary_version": "7.9.2+dfsg-4"
},
{
"binary_name": "libocct-modeling-data-7.9",
"binary_version": "7.9.2+dfsg-4"
},
{
"binary_name": "libocct-ocaf-7.9",
"binary_version": "7.9.2+dfsg-4"
},
{
"binary_name": "libocct-visualization-7.9",
"binary_version": "7.9.2+dfsg-4"
},
{
"binary_name": "occt-draw",
"binary_version": "7.9.2+dfsg-4"
},
{
"binary_name": "occt-misc",
"binary_version": "7.9.2+dfsg-4"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "opencascade",
"purl": "pkg:deb/ubuntu/opencascade@7.9.2+dfsg-4?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.8.1+dfsg1-3",
"7.9.2+dfsg-2",
"7.9.2+dfsg-3",
"7.9.2+dfsg-4"
]
}
],
"aliases": [],
"details": "A heap-based out-of-bounds read vulnerability in RWObj_Reader::read in the OBJ file parser in Open CASCADE Technology (OCCT) V8_0_0_rc5 allows user-assisted attackers to cause a denial of service or obtain sensitive information by persuading a victim to open a crafted OBJ file. The issue occurs because Standard_ReadLineBuffer::ReadLine() can return a 1-byte buffer for a minimal OBJ line, and RWObj_Reader::read() calls pushIndices(aLine + 2) without validating the buffer length.",
"id": "UBUNTU-CVE-2026-42477",
"modified": "2026-05-20T15:27:27Z",
"published": "2026-05-01T15:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-42477"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-42477"
},
{
"type": "REPORT",
"url": "https://gist.github.com/sgInnora/dfba083d04906283e9c92aea78e2d94a"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-42477"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.