Skip to main content

C-Blosc2 EUVDEUVD-2026-131538

| CVE-2026-133709 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-20 VulnCheck GHSA-p57x-4x6v-qxcx
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft sparse frame with truncated chunk
  2. Delivery
    Deliver malicious frame directory to victim
  3. Exploit
    Victim application decompresses the frame
  4. Execution
    Header cbytes exceeds chunkfile size
  5. Persist
    Out-of-bounds heap read in decompressor
  6. Impact
    Crash or leaked heap bytes in output

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application open and decompress an attacker-supplied sparse (directory-based) Blosc2 frame - specifically a frame directory whose individual chunk file has been truncated or crafted so the on-disk chunkfile is smaller than the cbytes advertised in that chunk's header, which is the exact unchecked condition fixed in 3.4.1. Limiting factors that reduce real-world risk: the vector is local (AV:L) rather than network, passive user interaction is needed (UI:P) because the victim must process the malicious frame, and only deployments that ingest untrusted Blosc2 sparse frames are exposed - applications that read only their own trusted data cannot be reached. The complete fix is upgrading to c-blosc2 3.4.1, which adds the missing checks that chunk_cbytes/header cbytes do not exceed the bytes actually read from the chunkfile.

Impact

This is a genuine but non-emergency issue best treated as routine patch-cycle work, consistent with the vendor's 'this_month' decision label. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H) scores 6.9 (Medium) and tells a coherent story: the attack is local - the attacker does not reach the library over a network but must get a malicious sparse frame (a directory containing a truncated/crafted chunk file) into a location the victim application will open - and passive user interaction is required (UI:P), meaning the victim merely has to process the attacker-supplied frame. The dominant impact is availability (VA:H, application crash) with only low confidentiality loss (VC:L, adjacent heap bytes leaked into the decompressed output); there is no integrity impact. No EPSS score was supplied and the CVE is not in CISA KEV, so there is no signal of active exploitation. No weaponized exploit was provided - the GitHub references include the fixing pull request and a regression test, not attack code - so this is no public exploit identified at time of analysis. The main caveat is exposure-dependent: because the trigger is a file/directory the application chooses to decompress, real-world risk hinges entirely on whether a given deployment ingests untrusted Blosc2 sparse frames (e.g. in a data-processing pipeline or file viewer); for applications that only read their own trusted data, practical risk is low.

Exploit ScenarioDerived

An attacker crafts a sparse Blosc2 frame directory in which a chunk file is truncated so its on-disk size is smaller than the cbytes value advertised in the chunk header, then delivers it to a victim application that decompresses untrusted frames. When the victim opens the frame, frame_decompress_chunk() passes the oversized header cbytes as the source size to the decompressor, reading past the end of the heap buffer and either crashing the application or copying adjacent heap memory into the decompressed output. No public exploit code was provided; only the fixing PR and a regression test are referenced.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 20, 2026

Heap out-of-bounds read in C-Blosc2 before 3.4.1 lets a crafted sparse (directory-based) Blosc2 frame make the decompressor read past the end of a chunk buffer, crashing the host application or leaking adjacent heap memory into the decompressed output. Only applications that open and decompress attacker-supplied sparse frames are exposed: the CVSS vector is local (AV:L) with passive user interaction (UI:P) and no privileges required (PR:N), so a victim must process the malicious frame. The flaw is fixed in 3.4.1 (upstream PR #822 / commit b3fa6a2), and no public exploit code was identified at time of analysis; this is treated as routine patch-cycle work under the 'this_month' priority label rather than an emergency.

RemediationAI

Vendor-released patch: upgrade to C-Blosc2 3.4.1, which adds the missing srcsize/cbytes validation in frame_decompress_chunk() and the header-length check in sframe_get_chunk() (PR https://github.com/Blosc/c-blosc2/pull/822, commit b3fa6a2ab8eff77286ca295001d367efef56ca75, release https://github.com/Blosc/c-blosc2/releases/tag/v3.4.1, advisory https://www.vulncheck.com/advisories/c-blosc2-before-3.4.1-heap-out-of-bounds-read-via-frame-decompress-chunk). Updating is the only complete fix, since the defective size substitution occurs inside the library's own decompression path. If an immediate upgrade is not possible, the practical compensating control is to stop feeding untrusted input through the sparse frame path: reject or quarantine externally supplied .b2frame directories before opening them, restrict ingestion to contiguous frames or to frames produced and validated by the consuming application, and run any component that must open third-party frames with a hardened allocator or sandbox and a crash-tolerant wrapper, accepting that this only converts a heap disclosure into a contained crash. Be aware that each of these reduces functionality (no external sparse-frame interchange) or adds infrastructure cost, and none removes the underlying out-of-bounds read.

Affected VersionsENISA

c-blosc2 0 <3.4.1

Affected Packages

euvd c_blosc2 fix: 3.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

C-Blosc2 is a compression library and file format used for chunked, compressed storage of numerical arrays; 'sparse' frames (implemented in blosc/sframe.c) store each chunk as a separate file inside a frame directory instead of one contiguous blob. Each chunk carries a header whose cbytes field declares the compressed size. sframe_get_chunk() sizes its read buffer from the bytes actually present in the chunkfile, but frame_decompress_chunk() (blosc/frame.c) overwrote that measured size with the header-declared cbytes and passed it as srcsize to blosc2_decompress_ctx(). A chunkfile truncated after a valid header therefore advertises more bytes than exist in the allocation, and the decompressor reads past the heap buffer - CWE-125, an out-of-bounds read. The 3.4.1 fix introduces a srcsize variable, rejects inputs shorter than BLOSC_MIN_HEADER_LENGTH, rejects a header cbytes larger than srcsize with BLOSC2_ERROR_INVALID_HEADER, and adds the matching length check in sframe_get_chunk() so the chunk header can never claim more bytes than the chunkfile holds. A regression test (tests/test_frame_decompress_chunk_cbytes.c) writes a sparse frame, halves chunk 1's chunkfile while leaving its header intact, and asserts the truncated chunk fails to decompress while untouched chunks still round-trip.

Know when C Blosc2 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.1 MEDIUM

Attacker supplies a local crafted frame the victim must open (AV:L, UI:R, PR:N); impact is a crash (A:H) with minor heap leak into output (C:L) and no integrity effect.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

C-Blosc2 before 3.4.1 contains a heap-based out-of-bounds read vulnerability in frame_decompress_chunk() because sparse frame chunk cbytes are not checked against the actual chunk file size. Attackers can supply a sparse frame directory with a truncated or crafted chunk file to crash applications or leak adjacent heap memory into decompressed output.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
compression library embedded in scientific-data and array tooling, not universally deployed
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy