CVE-2026-42476

NameCVE-2026-42476
DescriptionTwo 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opencascade (PTS)bullseye7.5.1+dfsg1-2vulnerable
bookworm7.6.3+dfsg1-7vulnerable
trixie7.8.1+dfsg1-3vulnerable
forky, sid7.9.2+dfsg-4vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
opencascadesource(unstable)(unfixed)

Notes

https://gist.github.com/sgInnora/dfba083d04906283e9c92aea78e2d94a

Search for package or bug name: Reporting problems