# OSV-2021-1149: Heap-buffer-overflow in JS::Lexer::consume

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

## Description

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

```
Crash type: Heap-buffer-overflow READ 1
Crash state:
JS::Lexer::consume
JS::Lexer::next
JS::Parser::consume
```

(As written by OSS-Fuzz.)

## Affected

- serenity (OSS-Fuzz): from 47bc72bcf6f2fae3dc0938b96d8c7890b1005ead before ae0bdda86e9946e8fc09db0c4dc044b2d975d7fa

## References

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

## Sources

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

---

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