# OSV-2022-282: Heap-buffer-overflow in cosm_new_file

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-03-26T00:01:18.978Z
- Modified: 2022-03-26T00:01:18.978Z

## Description

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

```
Crash type: Heap-buffer-overflow WRITE 1
Crash state:
cosm_new_file
epassNUMBER_pkcs15_generate_key
sc_pkcs15init_generate_key
```

(As written by OSS-Fuzz.)

## Affected

- opensc (OSS-Fuzz): from bec4f63c5b8308d7fdca842c5c0b62c3491d106a before 089cedc7520fbb9e0e4a912c4c3866a1aa429de6

## References

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

## Sources

- OSS-Fuzz: [OSV-2022-282](https://osv.dev/vulnerability/OSV-2022-282), CC-BY-4.0, modified 2022-03-26

---

Page: https://cve.day/OSV-2022-282 · Whole record: https://cve.day/OSV-2022-282.json · Rebuilt by cve.day 2026-11-25T22:56:18.823Z
