# OSV-2021-235: Global-buffer-overflow in QSvgSwitch::draw

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-01-25T00:00:16.933Z
- Modified: 2026-10-20T17:25:39.787Z

## Description

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

```
Crash type: Global-buffer-overflow READ 1
Crash state:
QSvgSwitch::draw
QSvgTinyDocument::draw
QSvgTinyDocument::draw
```

(As written by OSS-Fuzz.)

## Affected

- qt (OSS-Fuzz): before 117f4f34c6162eb8ac749569a5fff604713a3eba; before fc1a706440a33c792da08aa0f4b3ed2e0057e349; before afde7ca3a40f524e40052df696f74190452b22cb; before 63714587d1ea7bc0ff0c31f68ac879e777b9a3cd

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29873> (report)
- <https://codereview.qt-project.org/c/qt/qtsvg/+/335065> (fix)

## Sources

- OSS-Fuzz: [OSV-2021-235](https://osv.dev/vulnerability/OSV-2021-235), CC-BY-4.0, modified 2026-10-20

---

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