PortGate

Advisories · Linux & SSH

CVE-2023-6246 High CVSS 7.8

glibc syslog privilege escalation

Disclosed 2024 · Last reviewed 2 Dec 2026

A local user could overflow __vsyslog_internal and become root on the affected glibc builds.

What happened

A large argv or environment could overflow the buffer syslog used for the identity prefix.

Affected and patched versions

Affected
glibc 2.37 and the 2.36 builds that included the same syslog change, before the January 2024 fix.
Patched
The distro glibc update that names CVE-2023-6246.

How to check your server

Check

ldd --version

How to fix and harden

  1. Install the distribution glibc update and reboot, or restart every service that is still mapped to the old libc.

Fix

ldd --version

Sources

Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON