# OSV-2020-1040: Heap-buffer-overflow in decode_bit_string

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-07-22T21:49:41.688Z
- Modified: 2022-04-13T03:04:41.691Z

## Description

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

```
Crash type: Heap-buffer-overflow READ 1
Crash state:
decode_bit_string
decode_bit_field
asn1_decode_entry
```

(As written by OSS-Fuzz.)

## Affected

- opensc (OSS-Fuzz): from b0241eefa1b47f1420456f5dbc43564d59961a54 before 9b4b080be788a602fa8f01ac8d7e29cdaad07902

## References

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

## Sources

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

---

Page: https://cve.day/OSV-2020-1040 · Whole record: https://cve.day/OSV-2020-1040.json · Rebuilt by cve.day 2026-11-25T22:56:18.428Z
