# OSV-2021-947: Dynamic-stack-buffer-overflow in hsql::SQLParserResult::addStatement

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

## Description

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

```
Crash type: Dynamic-stack-buffer-overflow WRITE 8
Crash state:
hsql::SQLParserResult::addStatement
hsql_parse
hsql::SQLParser::parse
```

(As written by OSS-Fuzz.)

## Affected

- sql-parser (OSS-Fuzz): from 4248c7620c90c34e632cbee8c0264b858dff4818 before 6c9bb2e4d6d312553185feea2173acc7fe0dabdb; before 91f768c1cb3bf9105d5296366876b13ac4118516; before e52893244f40dab90888f2990356c40a0ca1cf5e

## References

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

## Sources

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

---

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