Skip to content
OpenAdvisories

Description

A heap-based buffer overflow was found in the __vsyslog_internal function of the glibc library. This function is called by the syslog and vsyslog functions. This issue occurs when the openlog function was not called, or called with the ident argument set to NULL, and the program name (the basename of argv[0]) is bigger than 1024 bytes, resulting in an application crash or local privilege escalation. This issue affects glibc 2.36 and newer.

Affected products

VendorProductAffectedFixed
— glibc — 2.39
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Fedora Fedora — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glibc 2.37-15 —
Debian 13 glibc 2.37-15 —
Debian 12 glibc 2.36-9+deb12u4 DSA-5611-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS glibc 2.39-0ubuntu1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed glibc 2.39-1.2 openSUSE-SU-2024:13647-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 glibc 2.38-6 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling glibc 2.38-r11 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 7

References