# OSV-2021-395: Heap-buffer-overflow in Crypto::der_decode_integer

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

## Description

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

```
Crash type: Heap-buffer-overflow READ 1
Crash state:
Crypto::der_decode_integer
Crypto::der_decode_sequence
Crypto::der_decode_sequence_many<4ul>::operator bool
```

(As written by OSS-Fuzz.)

## Affected

- serenity (OSS-Fuzz): from 5b891b0c36b9cf6efe1c8873e34f2fc114a686d3 before 3fe7ac0924ada70faaf27636b6e0f40bcde24f77

## References

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

## Sources

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

---

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