{"id":"UBUNTU-CVE-2023-6780","details":"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.","modified":"2026-04-22T17:28:35.869481Z","published":"2024-01-31T00:00:00Z","related":["USN-6620-1"],"upstream":["CVE-2023-6780"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-6780"},{"type":"REPORT","url":"https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6620-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-6780"}],"affected":[{"package":{"name":"glibc","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/glibc@2.39-0ubuntu1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.39-0ubuntu1"}]}],"versions":["2.38-1ubuntu6","2.38-3ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.39-0ubuntu1","binary_name":"glibc-source"},{"binary_version":"2.39-0ubuntu1","binary_name":"libc-bin"},{"binary_version":"2.39-0ubuntu1","binary_name":"libc-dev-bin"},{"binary_version":"2.39-0ubuntu1","binary_name":"libc-devtools"},{"binary_version":"2.39-0ubuntu1","binary_name":"libc6"},{"binary_version":"2.39-0ubuntu1","binary_name":"libc6-amd64"},{"binary_version":"2.39-0ubuntu1","binary_name":"libc6-dev-amd64"},{"binary_version":"2.39-0ubuntu1","binary_name":"libc6-dev-i386"},{"binary_version":"2.39-0ubuntu1","binary_name":"libc6-dev-s390"},{"binary_version":"2.39-0ubuntu1","binary_name":"libc6-dev-x32"},{"binary_version":"2.39-0ubuntu1","binary_name":"libc6-i386"},{"binary_version":"2.39-0ubuntu1","binary_name":"libc6-s390"},{"binary_version":"2.39-0ubuntu1","binary_name":"libc6-x32"},{"binary_version":"2.39-0ubuntu1","binary_name":"locales"},{"binary_version":"2.39-0ubuntu1","binary_name":"locales-all"},{"binary_version":"2.39-0ubuntu1","binary_name":"nscd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-6780.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}