cve/2018/CVE-2018-10534.md

18 lines
960 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2018-10534](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10534)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
The _bfd_XX_bfd_copy_private_bfd_data_common function in peXXigen.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, processes a negative Data Directory size with an unbounded loop that increases the value of (external_IMAGE_DEBUG_DIRECTORY) *edd so that the address exceeds its own memory region, resulting in an out-of-bounds memory write, as demonstrated by objcopy copying private info with _bfd_pex64_bfd_copy_private_bfd_data_common in pex64igen.c.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/andir/nixos-issue-db-example