8.4high
Glibc: heap-based buffer overflow in __vsyslog_internal()
- Severity
- 8.4high CVSS:3.1 by redhat
- Exploit likelihood
- 4.79% (higher than 92% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
A 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 the openlog function was not called, or called with the ident argument set to NULL, and the program name (the basename of argv[0]) is bigger than 1024 bytes, resulting in an application crash or local privilege escalation. This issue affects glibc 2.36 and newer.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| glibc | Not specified Not affected: 2.39 | CVE List |
| compat-glibc | Not specified | CVE List |
| gnu glibc | from 2.36 before 2.39 | NVD |
| fedoraproject fedora | 38, 39 | NVD |
All scores
| redhat | 8.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
A 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 the openlog function was not called, or called with the ident argument set to NULL, and the program name (the basename of argv[0]) is bigger than 1024 bytes, resulting in an application crash or local privilege escalation. This issue affects glibc 2.36 and newer.
NVD (es)
Se encontró un desbordamiento de búfer en la región Heap de la memoria en la función __vsyslog_internal de la librería glibc. Esta función es llamada por las funciones syslog y vsyslog. Este problema ocurre cuando no se llamó a la función openlog, o se llamó con el argumento ident establecido en NULL, y el nombre del programa (el nombre base de argv[0]) tiene más de 1024 bytes, lo que provoca un bloqueo de la aplicación o una escalada de privilegios locales. Este problema afecta a glibc 2.36 y versiones posteriores.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-6246 changed 2026-10-14 | CVE Terms of Use |
| NVD | CVE-2023-6246 changed 2026-06-17 | Public domain |