Description
ELFIO through 3.12 contains a NULL pointer dereference vulnerability in relocation_section_accessor get_entry() that allows attackers to crash applications via an unvalidated sh_link index. Attackers can supply a crafted ELF file whose SHT_REL or SHT_RELA section has a dangling sh_link, causing find_hash_section() to dereference null and deny service.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| serge1 | ELFIO | <= 3.12 |
References
- https://github.com/serge1/ELFIO
- https://github.com/serge1/ELFIO/blob/8ae6cec5d60495822ecd57d736f66149da9b1830/elfio/elfio_relocation.hpp#L142
- https://hackmd.io/@haind-pwn/elfio-relocation-get-entry-null-deref
- https://www.vulncheck.com/advisories/elfio-through-3.12-null-pointer-dereference-via-relocation-section-accessor-get-entry
Timeline
- Published
- Oct 14, 2026
- Last modified
- Oct 20, 2026
- NVD status
- Deferred