CVE-2023-6779
published high CVSS 3.1 · 8.2Glibc: off-by-one heap-based buffer overflow in __vsyslog_internal()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | glibc2.39 | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | compat-glibc | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 6, 7, 8, 9 | glibc | Unaffected | Not required | redhat |
| Fedora | — | glibcFedora | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | glibc | Advisory build | 2.36-9+deb12u4 | DSA-5611-1 |
| Ubuntu | mantic | glibc | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
Show 34 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Ubuntu | mantic | glibc-doc | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | glibc-source | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc-bin | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc-bin-dbgsym | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc-dev-bin | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc-dev-bin-dbgsym | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc-devtools | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc-devtools-dbgsym | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6 | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-amd64 | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-amd64-dbgsym | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-dbg | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-dev | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-dev-amd64 | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-dev-dbgsym | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-dev-i386 | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-dev-s390 | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-dev-x32 | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-i386 | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-i386-dbgsym | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-prof | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-s390 | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-s390-dbgsym | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-x32 | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | libc6-x32-dbgsym | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | locales | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | locales-all | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | nscd | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
| Ubuntu | mantic | nscd-dbgsym | Advisory build | 2.38-1ubuntu6.1 | USN-6620-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | glibc | 2.39 (unaffected) | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Fedora | Fedora | Default: affected | redhat · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-122 Heap-based Buffer Overflow
References
11- http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html
- http://seclists.org/fulldisclosure/2024/Feb/3
- https://access.redhat.com/security/cve/CVE-2023-6779
- RHBZ#2254395 https://bugzilla.redhat.com/show_bug.cgi?id=2254395
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/
- https://security.gentoo.org/glsa/202402-01
- https://security.netapp.com/advisory/ntap-20240223-0006/
- https://www.openwall.com/lists/oss-security/2024/01/30/6
- https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt
Provider assertions
4redhat · cna
Glibc: off-by-one heap-based buffer overflow in __vsyslog_internal()
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 26f47991c565d292a4b9b1873a65e52fc83b433a219d1f8174f98bc4f5a83c4e
- Ingested
- 14 Oct 2026, 22:44:09 UTC
- Source record
- Official CVE record