# OSV-2021-330: Heap-buffer-overflow in bn_sqr_karat_imp

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-02-09T00:02:19.523Z
- Modified: 2022-04-13T03:04:33.887Z

## Description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30537

```
Crash type: Heap-buffer-overflow WRITE 8
Crash state:
bn_sqr_karat_imp
bn_sqr_karat
cryptofuzz::module::relic_bignum::Sqr::Run
```

(As written by OSS-Fuzz.)

## Affected

- relic (OSS-Fuzz): from 1cca0a522ca280c7c8ba5e1288a54d9ecde627b4 before 707708d83188b04ea0b7b0ae2487aa8ac7e62f41; before c76f09859ceea718c2d49ac4c6d9a9eeb13d04a9

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30537> (report)

## Sources

- OSS-Fuzz: [OSV-2021-330](https://osv.dev/vulnerability/OSV-2021-330), CC-BY-4.0, modified 2022-04-13

---

Page: https://cve.day/OSV-2021-330 · Whole record: https://cve.day/OSV-2021-330.json · Rebuilt by cve.day 2026-11-25T22:56:18.715Z
