Skip to main content

c-blosc2 EUVDEUVD-2026-117538

| CVE-2026-122330 MEDIUM
Divide By Zero (CWE-369)
2026-11-05 VulnCheck GHSA-99fx-294r-j6xw
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft Blosc2 frame with zero chunksize/blocksize
  2. Delivery
    Deliver malicious frame to victim application
  3. Exploit
    Application opens frame and reads slice
  4. Execution
    Divide-by-zero raises SIGFPE
  5. Impact
    Process terminates (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Division safety checks
Exploitation Conditions

Exploitation requires that the target application load an attacker-controlled Blosc2 frame through blosc2_schunk_open() or blosc2_schunk_from_buffer() and then request a slice read (the blosc2_schunk_get_slice_buffer path), where the frame's header declares a chunksize or blocksize of zero that the pre-3.5.0 code fails to validate before using it as a divisor. The practical prerequisite is an application or service that accepts and parses untrusted Blosc2 frames. Limiting factors per the assessed vector: the attack vector is local rather than network (AV:L), it depends on passive user interaction (UI:P) - the victim must actually open and read the malicious frame - and impact is confined to availability (process crash via SIGFPE); there is no confidentiality or integrity impact and no code execution. Applications that never process externally-supplied frames are not realistically exposed.

Impact

This is a genuine but bounded issue, best read as a moderate-priority availability bug rather than a top-tier emergency. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) scopes impact strictly to availability (VA:H) with no confidentiality or integrity effect, and crucially uses a LOCAL attack vector with passive user interaction (UI:P) - meaning the attacker does not reach the code over the network but instead must get a victim application to open and read an attacker-supplied Blosc2 frame. CWE-369 (divide-by-zero) and the description/patch confirm the outcome is a SIGFPE that terminates the process - a denial of service, not code execution. Signals are mostly aligned: a patch is confirmed available (fixed in 3.5.0, commit 4fff178), the vendor priority label is 'this_month' (not act_now/emergency), and the finding was reported by VulnCheck with a public technical write-up. No CISA KEV listing is present and no EPSS score was supplied, so there is no evidence of active or widespread exploitation; a public PoC reference exists (a hackmd write-up and GitHub issue #834) but it is not verified as working exploit code. The main nuance to verify: 'attackers can crash applications' should not be read as remote/unauthenticated network exploitation - the assessed vector is local file/buffer processing, so real-world risk is concentrated in applications or services that ingest untrusted Blosc2 frames.

Exploit ScenarioDerived

An attacker crafts a malicious Blosc2 frame whose header carries a zero chunksize or blocksize value and delivers it to a victim application (e.g., as a data file or uploaded blob). When the application opens it with blosc2_schunk_open() or blosc2_schunk_from_buffer() and then reads a slice, the unchecked zero value is used as a divisor, raising SIGFPE and terminating the process. A public PoC reference exists (hackmd write-up / issue #834); it is not verified as working exploit code, and impact is limited to a crash (denial of service).

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

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

Alert me

AnalysisAIv1 – Nov 05, 2026

Divide-by-zero in c-blosc2 before 3.5.0 allows an attacker who can get an application to open a crafted Blosc2 frame and read it as a slice to crash that process with SIGFPE, a purely availability-impacting denial of service. The assessed vector is local (AV:L) and unauthenticated (PR:N), but it requires the victim to open and read the malicious frame (UI:P/UI:R), and impact is limited to process termination with no confidentiality, integrity, or code-execution effect. A vendor patch exists in c-blosc2 3.5.0 (upstream commit 4fff1787408d94b895c6f9cb50f7925ad5919052) and no CISA KEV listing is present; a public hackmd writeup describes the defect, but it is not verified as working exploit code. This is a genuine but bounded issue, best read as a moderate-priority availability bug rather than a top-tier emergency, consistent with the this_month priority label.

RemediationAI

Vendor-released patch: upgrade to c-blosc2 3.5.0 or later, which contains upstream commit 4fff1787408d94b895c6f9cb50f7925ad5919052 adding positive chunksize/typesize validation, non-positive blocksize rejection in get_chunk and frame_get_lazychunk, slice bounds and null checks, and the regression test tests/test_schunk_slice_chunksize.c; see https://github.com/Blosc/c-blosc2/commit/4fff1787408d94b895c6f9cb50f7925ad5919052, https://github.com/Blosc/c-blosc2/issues/834, and https://www.vulncheck.com/advisories/blosc-c-blosc2-before-3.5.0-divide-by-zero-via-blosc2-schunk-get-slice-buffer. Because the assessed vector is local and requires the victim to open and read the malicious frame, the practical exposure is limited to applications that parse untrusted Blosc2 data; if an immediate upgrade is not possible, the actionable compensating control is to stop passing externally supplied frames to blosc2_schunk_open(), blosc2_schunk_from_buffer(), and slice-read APIs, and instead accept only frames produced by a trusted encoder or re-encode untrusted data through a trusted path before storage. The trade-off is that rejecting or re-encoding all untrusted Blosc2 input breaks legitimate ingestion workflows, and pre-3.5.0 consumers have no in-library switch to selectively disable the vulnerable slice path, so the vendor upgrade is the complete fix. This is an availability-only crash with no code execution or data-integrity impact, but the process termination can still interrupt service.

Affected VersionsENISA

c-blosc2 0 <3.5.0

Affected Packages

euvd c_blosc2 fix: 3.5.0

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

Blosc2 is a high-performance compressed-data library whose super-chunk (schunk) and frame formats store multiple compressed chunks together with header fields such as chunksize, blocksize, and typesize. Applications deserialize frames through blosc2_schunk_open() or blosc2_schunk_from_buffer() and then read ranges through blosc2_schunk_get_slice_buffer() and related slice helpers. The root cause is CWE-369: pre-3.5.0 code in blosc/schunk.c (the blosc2_schunk_get_slice_buffer, masked_slice_read, and schunk_get_slice_buffer_unlocked paths, referenced at v3.4.1 lines 1662-1700) computed offsets and chunk lengths using schunk->chunksize and chunk-header blocksize as divisors without validating them, and blosc/frame.c (v3.4.1 lines 1214-1227) likewise consumed header values from get_chunk and frame_get_lazychunk without a positive-blocksize check. A crafted frame declaring chunksize or blocksize as zero therefore reaches an integer division/modulo by zero and raises SIGFPE. The upstream fix commit 4fff1787408d94b895c6f9cb50f7925ad5919052 is more than a single guard: it validates that schunk->chunksize and schunk->typesize are positive, rejects non-positive chunk blocksizes in get_chunk and frame_get_lazychunk with BLOSC2_ERROR_INVALID_HEADER, converts the slice chunksize computation to an explicit int32_t with a <= 0 check returning BLOSC2_ERROR_DATA, and adds null-pointer and start/stop bounds checks to the slice and sparse-buffer APIs, with a new regression test tests/test_schunk_slice_chunksize.c. This is a header-validation defect in the frame/schunk parsing path, not a memory-corruption or code-execution flaw.

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.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Attacker supplies a malicious frame the victim must open and read (AV:L, UI:R); no privileges needed (PR:N); impact is only a process crash, so C:N/I:N/A:H.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Blosc c-blosc2 before 3.5.0 contains a divide-by-zero vulnerability in blosc2_schunk_get_slice_buffer() in blosc/schunk.c that allows attackers to crash applications by supplying crafted frames with unchecked zero chunksize or blocksize values. Attackers can provide a malicious Blosc2 frame opened via blosc2_schunk_open() or blosc2_schunk_from_buffer() and read as a slice, raising SIGFPE and terminating the process.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
C compression library common in scientific Python/data stacks, not universal
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC GitHub VulDB

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.2%
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
Poc
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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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