CVE-2026-126765 Affecting compat-glibc package, versions *


Severity

Recommended
0.0
low
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.45% (41st 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-CENTOS7-COMPATGLIBC-22774085
  • published23 Nov 2026
  • disclosed19 Nov 2026

Introduced: 19 Nov 2026

NewCVE-2026-126765  (opens in a new tab)
CWE-1341  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 compat-glibc.

NVD Description

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

The glob functions in the GNU C Library versions 2.44 and earlier may free the same heap block twice when a memory allocation fails while glob prepends the directory name to the names it matched. The names already rewritten are freed, but their pointers stay in the result vector, and the error path frees them again with globfree.

The allocation must fail after at least one name has been rewritten, so the issue can only be reached when the process is already close to its memory limit, for example under an address space limit (RLIMIT_AS) or on a 32-bit system. The attacker needs control to make the result large enough to make the program or service run out of memory, either by controlling the glob pattern and having knowledge of the filesystem layout or through other means. This issue affects all architectures and ABIs supported by the GNU C Library.

CVSS Base Scores

version 3.1