# OSV-2020-540: Heap-buffer-overflow in byte_from_wkb_state

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

## Description

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

```
Crash type: Heap-buffer-overflow READ 1
Crash state:
byte_from_wkb_state
lwgeom_from_wkb_state
lwcollection_from_wkb_state
```

(As written by OSS-Fuzz.)

## Affected

- postgis (OSS-Fuzz): from e0b9fcce14c44a6a3be8e79a4cb3a2d13e79fc7a before b1abe27db0869d345ac5c0240a21e322a725fff9

## References

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

## Sources

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

---

Page: https://cve.day/OSV-2020-540 · Whole record: https://cve.day/OSV-2020-540.json · Rebuilt by cve.day 2026-11-25T22:56:18.575Z
