# OSV-2022-490: Stack-buffer-overflow in spvtools::opt::CompositeInsertToCompositeConstruct

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-06-17T00:01:02.205Z
- Modified: 2022-06-17T00:01:02.206Z

## Description

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

```
Crash type: Stack-buffer-overflow READ 4
Crash state:
spvtools::opt::CompositeInsertToCompositeConstruct
std::__1::__function::__func<bool
spvtools::opt::InstructionFolder::FoldInstructionInternal
```

(As written by OSS-Fuzz.)

## Affected

- spirv-tools (OSS-Fuzz): from 088cb1a5c81f45c8e778c4305e8668f3380401e8 before 286e9c1187053b4363fe963636f242263e1e5cd9

## References

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

## Sources

- OSS-Fuzz: [OSV-2022-490](https://osv.dev/vulnerability/OSV-2022-490), CC-BY-4.0, modified 2022-06-17

---

Page: https://cve.day/OSV-2022-490 · Whole record: https://cve.day/OSV-2022-490.json · Rebuilt by cve.day 2026-11-25T22:56:18.852Z
