# OSV-2021-1787: Global-buffer-overflow in stbi__jpeg_decode_block

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

## Description

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

```
Crash type: Global-buffer-overflow READ 4
Crash state:
stbi__jpeg_decode_block
stbi__decode_jpeg_image
stbi__jpeg_load
```

(As written by OSS-Fuzz.)

## Affected

- stb (OSS-Fuzz): from b1826c9894c048e18cce45a289ee1db3fde7f40b before 96fe76c21308653d22672e986dd39506f6871421

## References

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

## Sources

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

---

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