Skip to content
Heist/ feed
Back to feed
MediumFix available

glibc — security advisory

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

A flaw has been identified in glibc. In an extremely rare situation, the getaddrinfo function may access memory that has been freed, resulting in an application crash. This issue is only exploitable when a NSS module implements only the _nss_*_gethostbyname2_r and _nss_*_getcanonname_r hooks without implementing the _nss_*_gethostbyname3_r hook. The resolved name should return a large number of IPv6 and IPv4, and the call to the getaddrinfo function should have the AF_INET6 address family with AI_CANONNAME, AI_ALL and AI_V4MAPPED as flags.

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

Source evidence

DEBIAN-CVE-2023-4806

core-osv · Original source

Published 18 Sept 2023, 17:15 UTC

A flaw has been identified in glibc. In an extremely rare situation, the getaddrinfo function may access memory that has been freed, resulting in an application crash. This issue is only exploitable when a NSS module implements only the _nss_*_gethostbyname2_r and _nss_*_getcanonname_r hooks without implementing the _nss_*_gethostbyname3_r hook. The resolved name should return a large number of IPv6 and IPv4, and the call to the getaddrinfo function should have the AF_INET6 address family with AI_CANONNAME, AI_ALL and AI_V4MAPPED as flags.

osv:DEBIAN-CVE-2023-4806

glibc

Fixed versions: 2.36-9+deb12u3

glibc

Fixed versions: 2.37-10

glibc

Fixed versions: 2.37-10

Complete source record
{
  "id": "70db8596ad72418b28bc2492580ba29c46200fa6ef8ce32a2403c7003f90db90",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-4806",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-4806",
    "summary": "A flaw has been identified in glibc. In an extremely rare situation, the getaddrinfo function may access memory that has been freed, resulting in an application crash. This issue is only exploitable when a NSS module implements only the _nss_*_gethostbyname2_r and _nss_*_getcanonname_r hooks without implementing the _nss_*_gethostbyname3_r hook. The resolved name should return a large number of IPv6 and IPv4, and the call to the getaddrinfo function should have the AF_INET6 address family with AI_CANONNAME, AI_ALL and AI_V4MAPPED as flags.",
    "evidence": "osv:DEBIAN-CVE-2023-4806",
    "products": [
      {
        "name": {
          "value": "glibc",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.36-9+deb12u3",
            "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"
          }
        ]
      },
      {
        "name": {
          "value": "glibc",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.37-10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "glibc",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.37-10",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2023-4806",
      "aliases": [
        "DEBIAN-CVE-2023-4806"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.36-9+deb12u3"
                }
              ]
            }
          ],
          "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-4806.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.37-10"
                }
              ]
            }
          ],
          "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-4806.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.37-10"
                }
              ]
            }
          ],
          "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-4806.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:03:06.912208504Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-4806"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-4806"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-4806",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 457686,
  "published_at": "2023-09-18T17:15:55.813+00:00"
}