Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-107446 Overview
CVE-2026-107446 is an integer overflow vulnerability in containerd overlaybd through version 1.0.18. The flaw resides in the do_load_index function responsible for loading the Log-Structured Merge Tree (LSMT) index. An attacker-controlled index_bytes value triggers an integer overflow that leads to an out-of-bounds heap access. Exploitation requires an untrusted overlaybd blob pulled from a container registry in a scenario involving multiple overlaybd-backed containers. The weakness is classified under [CWE-190] Integer Overflow or Wraparound.
Critical Impact
A malicious overlaybd image blob can corrupt heap memory in the overlaybd runtime, causing availability loss across containers that share the overlaybd backend.
Affected Products
- containerd overlaybd versions up to and including 1.0.18
- Container hosts using overlaybd as a snapshotter for OCI image acceleration
- Multi-container deployments pulling images from untrusted registries
Discovery Timeline
- 2026-10-08 - CVE-2026-107446 published to NVD
- 2026-10-08 - Last updated in NVD database
Technical Details for CVE-2026-107446
Vulnerability Analysis
The overlaybd snapshotter loads an LSMT index when mounting an image blob. During do_load_index, the code reads an index_size field from the blob header and uses it to compute an allocation size in index_bytes. Because the multiplication is performed on a 64-bit value without a maximum bound check, a crafted index_size wraps the arithmetic. The resulting undersized allocation is then populated and traversed as if it were full-sized, producing out-of-bounds heap reads and writes.
The vulnerability is reachable when a container runtime pulls an untrusted overlaybd blob and mounts it. In environments running multiple overlaybd-backed containers, the shared process handling index loading becomes the corruption surface.
Root Cause
The root cause is missing validation of index_size in both the LSMT read-only index path (src/overlaybd/lsmt/file.cpp) and the ZFile index path (src/overlaybd/zfile/zfile.cpp). Neither path enforced an upper bound before using the attacker-supplied value in heap allocation and byte-offset arithmetic.
Attack Vector
An attacker publishes a malicious container image to a registry. When a victim host pulls the image and overlaybd mounts the blob, the crafted header triggers the overflow during index loading. No authentication to the host is required; the attack vector is the registry-supplied blob.
// Patch: src/overlaybd/lsmt/index.h - introduce hard limits
#include <sys/types.h>
namespace LSMT {
static const uint64_t MAX_LSMT_RO_INDEX_SIZE = 1000000;
static const uint64_t MAX_LSMT_INDEX_SIZE = 128000000;
struct Segment {
uint64_t offset : 50;
uint32_t length : 14;
Source: GitHub overlaybd Commit a536e33
// Patch: src/overlaybd/lsmt/file.cpp - validate index_size on load
if (!pht->verify_magic() || !pht->is_header())
LOG_ERROR_RETURN(0, nullptr, "header magic/type don't match");
if (pht->index_size > MAX_LSMT_RO_INDEX_SIZE)
LOG_ERROR_RETURN(0, nullptr, "LSMT RO index size ` exceeds maximum `",
pht->index_size + 0, MAX_LSMT_RO_INDEX_SIZE);
return pht;
Source: GitHub overlaybd Commit d80c179
Detection Methods for CVE-2026-107446
Indicators of Compromise
- overlaybd process crashes or SIGSEGV events during image pull or container start
- LOG_ERROR entries referencing malformed LSMT or ZFile headers after upgrading to patched builds
- Image pulls from untrusted or unexpected registries preceding snapshotter failures
Detection Strategies
- Inspect overlaybd logs for abnormal index size values or header verification failures during blob mount
- Correlate container runtime errors with specific image digests to identify malicious blobs
- Hash-verify overlaybd images against trusted sources before deployment
Monitoring Recommendations
- Alert on unexpected crashes of the overlaybd-tcmu or related overlaybd services
- Monitor registry pull activity against an allowlist of trusted image sources
- Track container start failures grouped by image reference to spot targeted abuse
How to Mitigate CVE-2026-107446
Immediate Actions Required
- Upgrade containerd/overlaybd to a version containing commits a536e33 and d80c179
- Restrict image pulls to trusted, signed registries using content-trust or Sigstore verification
- Audit running workloads for images sourced from external or unverified registries
Patch Information
Upstream fixes were merged in overlaybd Pull Request #438. Commit a536e33 introduces MAX_LSMT_RO_INDEX_SIZE and MAX_LSMT_INDEX_SIZE constants and validates index allocations. Commit d80c179 refines the validation for both LSMT and ZFile paths. Rebuild overlaybd from a release that includes both commits.
Workarounds
- Disable overlaybd snapshotter and fall back to a native snapshotter until patches are deployed
- Enforce image signature verification to block unsigned or untrusted overlaybd blobs
- Isolate container hosts handling untrusted images using separate node pools or sandboxed runtimes
# Verify installed overlaybd version and upgrade
overlaybd-tcmu --version
git clone https://github.com/containerd/overlaybd.git
cd overlaybd
git checkout main # ensure commits a536e33 and d80c179 are present
git submodule update --init
mkdir build && cd build
cmake ..
make -j$(nproc) && sudo make install
sudo systemctl restart overlaybd-tcmu
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

