# OSV-2021-392: Heap-buffer-overflow in heredoc_remove_indent

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

## Description

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

```
Crash type: Heap-buffer-overflow READ {*}
Crash state:
heredoc_remove_indent
parse_string
parser_yylex
```

(As written by OSS-Fuzz.)

## Affected

- mruby (OSS-Fuzz): from 0d22e11b757c6fe9b30e55cb7d83ab7421575968 before 94fb86f89b131814201596d301f584dfe4547526

## References

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

## Sources

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

---

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