Skip to content
OpenAdvisories
High · 8.2 CVE-2023-6779 EUVD-2023-58991GHSA-p5vr-h433-qhqr

Glibc: off-by-one heap-based buffer overflow in __vsyslog_internal()

Published Jan 31, 2024 · Updated Oct 14, 2026 · Assigned by redhat

Description

An off-by-one 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 these functions are called with a message bigger than INT_MAX bytes, leading to an incorrect calculation of the buffer size to store the message, resulting in an application crash. This issue affects glibc 2.37 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 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 glibc 2.38-6 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling glibc 2.38-r11 —

Advisories 5

References