CVE-2023-6780 Glibc: integer overflow in __vsyslog_internal()

Medium 5.3 Published Updated

An integer overflow in glibc's syslog function can cause undefined behavior and potential denial of service when processing very long messages.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-6780?

CVE-2023-6780 is a medium-severity vulnerability in Fedoraproject Fedora, published on 31 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An integer 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 very long message, leading to an incorrect calculation of the buffer size to store the message, resulting in undefined behavior. This issue affects glibc 2.37 and newer.

Weakness: CWE-190, CWE-131

Which versions are affected by CVE-2023-6780?

It affects 2 products.

Products include Fedoraproject Fedora, Gnu Glibc.

How do I fix CVE-2023-6780?

Apply the vendor's patch.

Is CVE-2023-6780 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6780 exists.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-34737, BELL-CVE-2023-6780, DEBIAN-CVE-2023-6780, GHSA-jjr8-97p7-vmmg, UBUNTU-CVE-2023-6780.

Is CVE-2023-6780 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free