{"id":"UBUNTU-CVE-2023-6779","details":"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.","modified":"2026-04-22T14:35:29.582691Z","published":"2024-01-31T00:00:00Z","related":["USN-6620-1"],"upstream":["CVE-2023-6779"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-6779"},{"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-6779"}],"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":{"binaries":[{"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_version":"2.39-0ubuntu1","binary_name":"libc6-s390"},{"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","binary_version":"2.39-0ubuntu1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-6779.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:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]}