JLSEC-2026-2375: High severity julia/gcc_jll vulnerability
stackprotectprologue in cfgexpand.c and stackprotectepilogue in function.c in GNU Compiler Collection (GCC) 4.1 through 8 (under certain circumstances) generate instruction sequences when targeting ARM targets that spill the address of the stack protector guard, which allows an attacker to bypass the protection of -fstack-protector, -fstack-protector-all, -fstack-protector-strong, and -fstack-protector-explicit against stack overflow by controlling what the stack canary is compared against.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/GCC_jllto a version that resolves this vulnerability.Fixed in 9.5.0
Event History
Frequently Asked Questions
Which builds are exposed to this issue?
The issue affects GCC versions 4.1 through 8 when targeting ARM, under certain circumstances. It is relevant only to code compiled with one of the listed stack-protector options.
What must an attacker be able to do to bypass the protection?
An attacker must be able to exploit a stack overflow and control the value against which the stack canary is compared. The vulnerable ARM instruction sequence can spill the stack-protector guard address, enabling that bypass.
How can I assess whether a build may be affected?
Check whether the compiler used was GCC 4.1 through 8, whether the output targets ARM, and whether the build uses -fstack-protector, -fstack-protector-all, -fstack-protector-strong, or -fstack-protector-explicit. The provided information does not identify which specific compilation circumstances produce the vulnerable sequence.