# CVE-2021-45935: Grok 9.5.0 has a heap-based buffer overflow in openhtj2k::T1OpenHTJ2K::decompress (called from std::1::packagedtaskfunc<std::1::bind<grk::T…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-12-31T23:58:13.000Z
- Modified: 2026-06-17T04:14:16.733Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

Grok 9.5.0 has a heap-based buffer overflow in openhtj2k::T1OpenHTJ2K::decompress (called from std::__1::__packaged_task_func<std::__1::__bind<grk::T1DecompressScheduler::deco and std::__1::packaged_task<int).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- grok_project grok: 9.5.0

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/google/oss-fuzz-vulns/blob/main/vulns/grok/OSV-2021-1344.yaml> (exploit, third-party-advisory)
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39021> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/osamu620/OpenHTJ2K> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-45935](https://www.cve.org/CVERecord?id=CVE-2021-45935), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-45935](https://nvd.nist.gov/vuln/detail/CVE-2021-45935), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-45935 · Whole record: https://cve.day/CVE-2021-45935.json · Rebuilt by cve.day 2026-11-25T22:58:06.320Z
