cve.bz

CVE-2023-4806 Use After Free

5.9 mediumEPSS 1.6%Fix available

Medium (5.9). EPSS 1.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-02-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:2.28-225.el8_8.6
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support: fixed in 0:2.28-189.8.el8_6
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:2.34-60.el9_2.7
  • Red Hat Red Hat Virtualization 4 for Red Hat Enterprise Linux 8: fixed in 0:2.28-189.8.el8_6
  • Debian, Ubuntu, Red Hat, openSUSE, AlmaLinux, Rocky Linux, Azure Linux, Alpaquita, BellSoft Hardened Containers: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2023-4806 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-4806?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-4806?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-4806 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 80:2.28-225.el8_8.6
Red Hat Enterprise Linux 8.6 Extended Update Support0:2.28-189.8.el8_6
Red Hat Enterprise Linux 90:2.34-60.el9_2.7
Red Hat Virtualization 4 for Red Hat Enterprise Linux 80:2.28-189.8.el8_6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12glibc2.36-9+deb12u3DEBIAN-CVE-2023-4806
Debian13, 14glibc2.37-10DEBIAN-CVE-2023-4806
Ubuntu20.04:LTSglibc2.31-0ubuntu9.14UBUNTU-CVE-2023-4806 USN-6541-1
Ubuntu22.04:LTSglibc2.35-0ubuntu3.5UBUNTU-CVE-2023-4806 USN-6541-1
UbuntuPro:14.04:LTSeglibcno fix listedUBUNTU-CVE-2023-4806
UbuntuPro:16.04:LTSglibc2.23-0ubuntu11.3+esm5UBUNTU-CVE-2023-4806 USN-6541-1
UbuntuPro:18.04:LTSglibc2.27-3ubuntu1.6+esm1UBUNTU-CVE-2023-4806 USN-6541-1
Red Hatenterprise_linux:8::appstreamglibc-utils, nscd-debuginfo, glibc-debuginfo and 10 more0:2.28-225.el8_8.6RHSA-2023:5455
Red Hatenterprise_linux:8::baseosnscd, glibc, libnsl and 216 more0:2.28-225.el8_8.6RHSA-2023:5455
Red Hatenterprise_linux:8::crbnss_hesiod, glibc-static, nscd-debuginfo and 12 more0:2.28-225.el8_8.6RHSA-2023:5455
Red Hatenterprise_linux:9::appstreamglibc-doc, glibc-devel, glibc-utils and 12 more0:2.34-60.el9_2.7RHSA-2023:5453
Red Hatenterprise_linux:9::baseosnscd, glibc, libnsl and 212 more0:2.34-60.el9_2.7RHSA-2023:5453
Red Hatenterprise_linux:9::crbnss_db, nss_hesiod, glibc-static and 12 more0:2.34-60.el9_2.7RHSA-2023:5453
Red Hatrhel_eus:8.6::appstreamglibc-utils, nscd-debuginfo, glibc-debuginfo and 9 more0:2.28-189.8.el8_6RHSA-2023:7409
Red Hatrhel_eus:8.6::baseosnscd, glibc, libnsl and 215 more0:2.28-189.8.el8_6RHSA-2023:7409
Red Hatrhel_eus:8.6::crbnss_hesiod, glibc-static, nscd-debuginfo and 11 more0:2.28-189.8.el8_6RHSA-2023:7409
Red Hatrhev_hypervisor:4.4::el8glibc-devel, glibc-headers, nscd-debuginfo and 9 more0:2.28-189.8.el8_6RHSA-2023:7409
openSUSETumbleweedglibc2.38-3.1openSUSE-SU-2024:13273-1
AlmaLinux8nscd, glibc, libnsl and 211 more2.28-225.el8_8.6ALSA-2023:5455
AlmaLinux9nscd, glibc, libnsl and 212 more2.34-60.el9_2.7ALSA-2023:5453
Rocky Linux8glibc0:2.28-225.el8_8.6RLSA-2023:5455
Azure Linux2glibc2.35-6AZL-29954
Azure Linux3glibc2.38-11AZL-34738
Alpaquita23, streamglibc2.37.0-r6BELL-CVE-2023-4806
BellSoft Hardened Containers23, streamglibc2.37.0-r6BELL-CVE-2023-4806

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is only exploitable with very specific conditions, as detailed in the description. However, all glibc versions shipped in Red Hat Enterprise Linux are vulnerable to this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8glibc-0:2.28-225.el8_8.6Fixed 2023-10-05RHSA-2023:5455
Red Hat Enterprise Linux 8.6 Extended Update Supportglibc-0:2.28-189.8.el8_6Fixed 2023-11-21RHSA-2023:7409
Red Hat Enterprise Linux 9glibc-0:2.34-60.el9_2.7Fixed 2023-10-05RHSA-2023:5453
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8glibc-0:2.28-189.8.el8_6Fixed 2023-11-21RHSA-2023:7409
Red Hat Enterprise Linux 6compat-glibcOut of support scope
Red Hat Enterprise Linux 6glibcOut of support scope
Red Hat Enterprise Linux 7compat-glibcWill not fix
Red Hat Enterprise Linux 7glibcWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-4806.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-162-05Siemens SIMATIC S7-1500 CPU family2025-06-10EnergySIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-23-166-10Siemens SIMATIC S7-1500 TM MFP BIOS2023-06-13MultipleSIMATIC S7-1500 TM MFP - BIOSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON