---
id: CVE-2026-53941
title: >-
  Inspektor Gadget is a set of tools and framework for data collection and
  system inspection on Kubernetes clusters and Linux hosts using eBPF
summary: >-
  Inspektor Gadget is a set of tools and framework for data collection and
  system inspection on Kubernetes clusters and Linux hosts using eBPF. From
  0.27.0 until 0.53.1, the uprobe library resolver can allow an unprivileged
  container to co…
severity: medium
cvss: 6.9
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'
cwe:
  - CWE-770
  - CWE-400
vendor: inspektor-gadget
product: inspektor-gadget
affected:
  - 'inspektor-gadget >= 0.27.0, < 0.53.1'
patched:
  - github.com/inspektor-gadget/inspektor-gadget 0.53.1
published: '2026-09-15'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T16:17:08.630'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53941'
references:
  - url: >-
      https://github.com/inspektor-gadget/inspektor-gadget/commit/2ca55021acf675b65040beff2a5ec348054be782
    label: security-advisories@github.com
  - url: 'https://github.com/inspektor-gadget/inspektor-gadget/pull/5547'
    label: security-advisories@github.com
  - url: 'https://github.com/inspektor-gadget/inspektor-gadget/releases/tag/v0.53.1'
    label: security-advisories@github.com
  - url: >-
      https://github.com/inspektor-gadget/inspektor-gadget/security/advisories/GHSA-vjhx-2cqw-3q6q
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-vjhx-2cqw-3q6q'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53941.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-53941'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-53941'
tags:
  - nvd
  - cve.org
  - ghsa
  - go
  - csaf
  - vex
  - red-hat
aliases:
  - GHSA-vjhx-2cqw-3q6q
ecosystem: go
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-16T15:08:49.947843Z'
cvssSource: cna
scores:
  cna: 6.9
  vendor: 5.5
ingestedAt: '2026-08-19T19:44:03.250Z'
epss: 0.00524
epssPercentile: 0.42009
---

## Overview

Inspektor Gadget is a set of tools and framework for data collection and system inspection on Kubernetes clusters and Linux hosts using eBPF. From 0.27.0 until 0.53.1, the uprobe library resolver can allow an unprivileged container to consume excessive CPU and block other containers from starting by supplying a crafted /etc/ld.so.cache file while an uprobe-based gadget is active. The parser in pkg/uprobetracer/ldcache_parser.go trusts EntryCount enough to perform excessive iteration, computes cache1Len with overflowing uint32 arithmetic, and repeatedly calls readStringFromBytes in pkg/uprobetracer/bytes.go, where byte-by-byte immutable string concatenation produces quadratic work. While this processing occurs, pkg/container-hook holds the fanotify container-start pause, allowing a crafted cache to delay startup for roughly a minute, prevent Docker from starting other containers, and degrade monitoring. Processing caches from already-running containers can still consume CPU but does not hold the new-container startup pause, and the advisory establishes no confidentiality or integrity impact. This issue is fixed in version 0.53.1.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-53941)

Affected packages:

- `github.com/inspektor-gadget/inspektor-gadget >= 0.27.0, < 0.53.1`

Patched in:

- `github.com/inspektor-gadget/inspektor-gadget 0.53.1`

Source: https://github.com/advisories/GHSA-vjhx-2cqw-3q6q

## Vendor advisories

- **Red Hat VEX** · updated 2026-09-15 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53941.json)
