{
  "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-42476.json"
  },
  "details": "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.",
  "id": "CVE-2026-42476",
  "modified": "2026-07-08T05:38:59.115737946Z",
  "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-42476.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42476"
    }
  ],
  "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"
    }
  ]
}