Glibc: integer overflow in __vsyslog_internal()
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-6780
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 20:42 UTC · Revision 1
Source evidence
Glibc: integer overflow in __vsyslog_internal()
core-osv · Original sourcePublished 31 Jan 2024, 14:08 UTC
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.
osv:CVE-2023-6780
Complete source record
{
"id": "9a203eb24f9e750f89641c2ecaa664af41252329f32a966d40a8377e428fdd51",
"url": "https://osv.dev/vulnerability/CVE-2023-6780",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Glibc: integer overflow in __vsyslog_internal()",
"summary": "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.",
"evidence": "osv:CVE-2023-6780",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2023-6780",
"aliases": [
"CVE-2023-6780"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/bminor/glibc",
"type": "GIT",
"events": [
{
"introduced": "a704fd9a133bfb10510e18702f48a6a9c88dbbd5"
},
{
"fixed": "ef321e23c20eebc6d6fb4044425c00e6df27b05f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.37"
},
{
"fixed": "2.39"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"glibc-2.38",
"glibc-2.38.9000",
"glibc-2.37",
"glibc-2.37.9000"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6780.json"
}
},
{
"ranges": [
{
"repo": "https://sourceware.org/git/glibc.git",
"type": "GIT",
"events": [
{
"introduced": "a704fd9a133bfb10510e18702f48a6a9c88dbbd5"
},
{
"fixed": "ef321e23c20eebc6d6fb4044425c00e6df27b05f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.37"
},
{
"fixed": "2.39"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"glibc-2.38",
"glibc-2.38.9000",
"glibc-2.37",
"glibc-2.37.9000"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6780.json"
}
}
],
"modified": "2026-10-28T02:30:39.215161683Z",
"provider": "osv",
"references": [
"https://access.redhat.com/downloads/content/package-browser/",
"https://cert-portal.siemens.com/productcert/html/ssa-082556.html",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/",
"https://packages.fedoraproject.org/",
"https://www.openwall.com/lists/oss-security/2024/01/30/6",
"https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt",
"https://access.redhat.com/security/cve/CVE-2023-6780",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6780.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-6780",
"https://security.gentoo.org/glsa/202402-01",
"https://security.netapp.com/advisory/ntap-20250207-0010/",
"https://bugzilla.redhat.com/show_bug.cgi?id=2254396"
],
"provider_metadata": {
"cwe_ids": [
"CWE-131"
],
"cna_assigner": "redhat",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6780.json"
}
},
"related_cves": [
{
"value": "CVE-2023-6780",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 506804,
"published_at": "2024-01-31T14:08:02.61+00:00"
}