# OSV-2023-337: Heap-buffer-overflow in PyBytes_FromStringAndSize

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-04-22T14:02:16.429Z
- Modified: 2023-04-22T14:02:16.430Z

## Description

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

```
Crash type: Heap-buffer-overflow READ {*}
Crash state:
PyBytes_FromStringAndSize
do_mkvalue
va_build_stack
```

(As written by OSS-Fuzz.)

## Affected

- python3-libraries (OSS-Fuzz): from 1ef61cf71a218c71860ff6aecf0fd51edb8b65dc before 9169a56fad246364fd3224306e72e0d0725c35aa

## References

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

## Sources

- OSS-Fuzz: [OSV-2023-337](https://osv.dev/vulnerability/OSV-2023-337), CC-BY-4.0, modified 2023-04-22

---

Page: https://cve.day/OSV-2023-337 · Whole record: https://cve.day/OSV-2023-337.json · Rebuilt by cve.day 2026-11-25T22:56:18.961Z
