Skip to content
Noroxi
NVD / CVE Program· CNA redhat

CVE-2023-4806: Glibc: potential use-after-free in getaddrinfo()

Noroxi assessment

Priority: Monitor (action score 23/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 1.6% (FIRST EPSS); higher than 75.8% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: compat-libpthread-nonshared (AlmaLinux:8) 2.28-225.el8_8.6; glibc (AlmaLinux:8) 2.28-225.el8_8.6; glibc-all-langpacks (AlmaLinux:8) 2.28-225.el8_8.6.

Low priority for now. Upgrade to compat-libpthread-nonshared (AlmaLinux:8) 2.28-225.el8_8.6; glibc (AlmaLinux:8) 2.28-225.el8_8.6; glibc-all-langpacks (AlmaLinux:8) 2.28-225.el8_8.6 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

MediumCVSS 5.9 · v3.1—No exploit Fix available
Published
Sep 18, 2023
Updated
Oct 14, 2026
EPSS
1.6% · 75th percentile

Report tools

JSON

Action score

23

Monitor

Low priority for now.

CVSS
23 / 40 · 5.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.6%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
5.9
CNA · redhat
5.9
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2023-4806

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
gnuglibc
redhatcodeready linux builder eus
redhatcodeready linux builder eus for power little endian
redhatcodeready linux builder eus for power little endian eus
redhatcodeready linux builder for arm64
redhatcodeready linux builder for arm64 eus
redhatcodeready linux builder for ibm z systems
redhatcodeready linux builder for ibm z systems eus
redhatenterprise linux
redhatenterprise linux eus
redhatenterprise linux for arm 64
redhatenterprise linux for arm 64 eus

and 10 more

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • fedoraproject fedora37
  • fedoraproject fedora38
  • fedoraproject fedora39
  • gnu glibc2.33
  • redhat codeready linux builder eus9.2
  • redhat codeready linux builder eus for power little endian9.0_ppc64le
  • redhat codeready linux builder eus for power little endian eus9.2_ppc64le
  • redhat codeready linux builder for arm649.0_aarch64
  • redhat codeready linux builder for arm64 eus9.2_aarch64
  • redhat codeready linux builder for ibm z systems9.0_s390x
  • redhat codeready linux builder for ibm z systems eus9.2_s390x
  • redhat enterprise linux7.0
  • redhat enterprise linux8.0
  • redhat enterprise linux9.0
  • redhat enterprise linux eus8.8
  • redhat enterprise linux eus9.2
  • redhat enterprise linux for arm 649.0_aarch64
  • redhat enterprise linux for arm 64 eus9.2_aarch64
  • redhat enterprise linux for ibm z systems8.0_s390x
  • redhat enterprise linux for ibm z systems eus8.8_s390x

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • Red Hat Red Hat Enterprise Linux 6

    • all versionsunknown
    • all versionsunknown
  • Red Hat Red Hat Enterprise Linux 7

    • all versionsaffected
    • all versionsaffected
  • Red Hat Red Hat Enterprise Linux 8

    • 0:2.28-225.el8_8.6 and laternot affected · rpm
    • 0:2.28-225.el8_8.6 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support

    • 0:2.28-189.8.el8_6 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 9

    • 0:2.34-60.el9_2.7 and laternot affected · rpm
    • 0:2.34-60.el9_2.7 and laternot affected · rpm
  • Red Hat Red Hat Virtualization 4 for Red Hat Enterprise Linux 8

    • 0:2.28-189.8.el8_6 and laternot affected · rpm

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8compat-libpthread-nonsharedbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibcbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-all-langpacksbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-benchtestsbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-commonbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-develbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-docbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-gconv-extrabefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-headersbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-aabefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-afbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-agrbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-akbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-ambefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-anbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-anpbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-arbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-asbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-astbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-aycbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-azbefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-bebefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-bembefore 2.28-225.el8_8.62.28-225.el8_8.6
AlmaLinux:8glibc-langpack-berbefore 2.28-225.el8_8.62.28-225.el8_8.6

+96

Same product

gnu: all records

Other highest-scoring records for the same primary product.

  • CVE-2023-4911Glibc: buffer overflow in ld.so leading to privilege escalationKEV
    80Now
  • CVE-2015-0235Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18, allows context-depen
    68This week
  • CVE-2015-7547Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the libresolv library in the GNU C Library (aka glibc
    60This week

Published before and after this one in the same product

  • ← EarlierCVE-2023-4813Sep 12, 2023 · Glibc: potential use-after-free in gaih_inet()
    24Monitor
  • ← EarlierCVE-2023-4527Sep 18, 2023 · Glibc: stack read overflow in getaddrinfo in no-aaaa mode
    27Monitor
  • Later →CVE-2023-5156Sep 25, 2023 · Glibc: dos due to memory leak in getaddrinfo.c
    30Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:glibc2.34-60.el9_2.7 · AlmaLinux:9Package registry (OSV)
almalinux:glibc-all-langpacks2.34-60.el9_2.7 · AlmaLinux:9Package registry (OSV)
almalinux:glibc-benchtests2.34-60.el9_2.7 · AlmaLinux:9Package registry (OSV)
almalinux:glibc-common2.34-60.el9_2.7 · AlmaLinux:9Package registry (OSV)
almalinux:glibc-devel2.34-60.el9_2.7 · AlmaLinux:9Package registry (OSV)
almalinux:glibc-doc2.34-60.el9_2.7 · AlmaLinux:9Package registry (OSV)
almalinux:glibc-gconv-extra2.34-60.el9_2.7 · AlmaLinux:9Package registry (OSV)
almalinux:glibc-headers2.34-60.el9_2.7 · AlmaLinux:9Package registry (OSV)
almalinux:glibc-langpack-aa2.34-60.el9_2.7 · AlmaLinux:9Package registry (OSV)
almalinux:glibc-langpack-af2.34-60.el9_2.7 · AlmaLinux:9Package registry (OSV)
almalinux:glibc-langpack-agr2.34-60.el9_2.7 · AlmaLinux:9Package registry (OSV)
almalinux:glibc-langpack-ak2.34-60.el9_2.7 · AlmaLinux:9Package registry (OSV)
debian:glibc2.36-9+deb12u3 · Debian:12Package registry (OSV)
opensuse:glibc2.38-3.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:glibc-benchtests-debuginfo0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:glibc-common-debuginfo0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:glibc-debuginfo0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:glibc-debugsource0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:glibc-devel0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:glibc-doc0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:glibc-gconv-extra-debuginfo0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:glibc-headers0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:glibc-locale-source0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:glibc-utils0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:glibc-utils-debuginfo0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:libnsl-debuginfo0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
rocky linux:glibc0:2.28-225.el8_8.6 · Rocky Linux:8Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Weakness class (CWE)

CWE-416 · Use After Free

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Root cause

After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records