# OSV-2023-877: Heap-buffer-overflow in btf_ensure_modifiable

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-09-18T14:02:44.989Z
- Modified: 2026-04-10T14:13:25.726Z

## Description

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

```
Crash type: Heap-buffer-overflow READ 4
Crash state:
btf_ensure_modifiable
btf__add_var
bpf_object__collect_externs
```

(As written by OSS-Fuzz.)

## Affected

- libbpf (OSS-Fuzz): from d374094d8c49b6b7d288f307e11217ec5a502391 before dd92bef7f6c7a00bb0312554119b6d9cf38e4f32

## References

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

## Sources

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

---

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