Report

CVE-2023-4911 'Looney Tunables' Buffer Overflow in glibc tunable initialization

69d8b3b3-f17e-4201-a0f2-e9eac94e1d0e

CVE-2023-4911 is a heap buffer overflow vulnerability in glibc's dynamic linker when processing the GLIBC_TUNABLES environment variable during program startup. The vulnerability allows local privilege escalation via buffer overflow in SETUID/SETGID programs. When __libc_enable_secure=1 (set for privileged binaries), parse_tunables() rewrites tunable names in canonical form back to a buffer that was allocated based on the original environment variable name length only, not accounting for the longer canonical names.