# OSV-2021-312: Heap-use-after-free in sampled_data_continue

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

## Description

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

```
Crash type: Heap-use-after-free WRITE 4
Crash state:
sampled_data_continue
gs_interpret
gs_main_run_string_with_length
```

(As written by OSS-Fuzz.)

## Affected

- ghostscript (OSS-Fuzz): from 0bd6877f480a84657696a80adc13f9c5485dd996 before 141e5067e40d25ed3aa191589d4a325941efa57a

## References

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

## Sources

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

---

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