{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "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"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "a016080bf6738d6aeae020badee4e888ad1540a5"
            },
            {
              "introduced": "344d6139b6d2a63849949442d1d12e684d3413b5"
            },
            {
              "last_affected": "0ebbbedb239d6fffb7e1c8c2d36970a3ab1d9300"
            }
          ],
          "repo": "https://github.com/open-cascade-sas/occt",
          "type": "GIT"
        }
      ],
      "versions": [
        "8.0.0-beta1",
        "8.0.0-rc1",
        "8.0.0-rc2",
        "8.0.0-rc3",
        "8.0.0-rc4",
        "8.0.0-rc5"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42477.json"
  },
  "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": "CVE-2026-42477",
  "modified": "2026-07-08T05:38:09.461910533Z",
  "published": "2026-05-01T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://gist.github.com/sgInnora/dfba083d04906283e9c92aea78e2d94a"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42477.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42477"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}