# OSV-2023-586: Heap-buffer-overflow in setcos_create_key

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-07-19T14:00:35.841Z
- Modified: 2023-07-19T14:00:35.841Z

## Description

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

```
Crash type: Heap-buffer-overflow READ 1
Crash state:
setcos_create_key
sc_pkcs15init_generate_key
do_generate_key
```

(As written by OSS-Fuzz.)

## Affected

- opensc (OSS-Fuzz): from 22f73781706a293d10ebe982ece863a73fd62bf3 before 440ca666eff10cc7011901252d20f3fc4ea23651

## References

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

## Sources

- OSS-Fuzz: [OSV-2023-586](https://osv.dev/vulnerability/OSV-2023-586), CC-BY-4.0, modified 2023-07-19

---

Page: https://cve.day/OSV-2023-586 · Whole record: https://cve.day/OSV-2023-586.json · Rebuilt by cve.day 2026-11-25T22:56:18.985Z
