Skip to content
Heist/ feed
Back to feed
HighFix available

glibc — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-6246

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.

Products
glibc
Affected versions
2.36-9, 2.36-9+deb12u1, 2.36-9+deb12u2, 2.36-9+deb12u3
Fixed versions
2.36-9+deb12u4, 2.37-15
CVEs
CVE-2023-6246
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 16:31 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-6246

core-osv · Original source

Published 31 Jan 2024, 14:15 UTC

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.

osv:DEBIAN-CVE-2023-6246

glibc

Fixed versions: 2.36-9+deb12u4

glibc

Fixed versions: 2.37-15

glibc

Fixed versions: 2.37-15

Complete source record
{
  "id": "f63ee2581fc328518ffdf95f9980fc0da5fc5687b0beb5846e848c07f8f6994c",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-6246",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-6246",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2023-6246",
    "products": [
      {
        "name": {
          "value": "glibc",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.36-9+deb12u4",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.36-9",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.36-9+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.36-9+deb12u2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.36-9+deb12u3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "glibc",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.37-15",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "glibc",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.37-15",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-6246",
      "aliases": [
        "DEBIAN-CVE-2023-6246"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.36-9+deb12u4"
                }
              ]
            }
          ],
          "package": {
            "name": "glibc",
            "purl": "pkg:deb/debian/glibc?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.36-9",
            "2.36-9+deb12u1",
            "2.36-9+deb12u2",
            "2.36-9+deb12u3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-6246.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.37-15"
                }
              ]
            }
          ],
          "package": {
            "name": "glibc",
            "purl": "pkg:deb/debian/glibc?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-6246.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.37-15"
                }
              ]
            }
          ],
          "package": {
            "name": "glibc",
            "purl": "pkg:deb/debian/glibc?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-6246.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:03:09.635168375Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-6246"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-6246"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-6246",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 457969,
  "published_at": "2024-01-31T14:15:48.42+00:00"
}