JLSEC-2026-1525: Null Pointer Dereference
GNU Binutils thru 2.46 readelf contains a null pointer dereference vulnerability when processing a crafted ELF binary with malformed header fields. During relocation processing, an invalid or null section pointer may be passed into displayrelocations(), resulting in a segmentation fault (SIGSEGV) and abrupt termination. No evidence of memory corruption beyond the null pointer dereference, nor any possibility of code execution, was observed.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/Binutils_jllto a version that resolves this vulnerability.Fixed in 2.47.0+0
Event History
Frequently Asked Questions
What systems are realistically exposed to this issue?
Systems are exposed if they use readelf from the listed Julia Binutils-related packages and process attacker-controlled or otherwise untrusted ELF binaries. The observed impact is abrupt readelf termination while processing a crafted file.
What does an attacker need to exploit the vulnerability?
An attacker needs to cause readelf to process a crafted ELF binary with malformed header fields. No privileges or user interaction are required according to the supplied vector.
Is code execution or memory corruption expected from this flaw?
No. The available analysis reports a null pointer dereference causing SIGSEGV, with no observed memory corruption beyond the dereference and no possibility of code execution.
How can I tell whether I am affected?
Check whether your environment includes julia/binutils_jll, julia/gccbootstrap_jll, julia/gcctoolchain_jll, julia/arm_binutils_jll, or julia/avr_binutils_jll, and whether their readelf utility processes untrusted ELF files. The issue affects GNU Binutils through 2.46.