Improper Validation of Specified Quantity in Input Affecting glibc package, versions <0:2.42-12.hum1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-GLIBC-16424852
  • published6 May 2026
  • disclosed28 Apr 2026

Introduced: 28 Apr 2026

CVE-2026-6238  (opens in a new tab)
CWE-1284  (opens in a new tab)

How to fix?

Upgrade RHEL:10 glibc to version 0:2.42-12.hum1 or higher.
This issue was patched in RHSA-2026:12740.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glibc package and not the glibc package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

The deprecated functions ns_printrrf, ns_printrr and fp_nquery in the GNU C Library version 2.2 and newer fail to validate the RDATA content against the RDATA length in a DNS response when processing LOC, CERT, TKEY or TSIG records, which may allow an attacker to craft a DNS response, causing a target application to crash or read uninitialized memory.

These functions are for application debugging only and hence not in the path of code executed by the DNS resolver. Further, they have been deprecated since version 2.34 and should not be used by any new applications. Applications should consider porting away from these interfaces since they may be removed in future versions.

CVSS Base Scores

version 3.1