Blosc c-blosc2 before 3.5.0 Divide-by-Zero via blosc2_schunk_get_slice_buffer()
- State
- Published
- Severity
- 6.8 Medium
- Published
- Nov 5, 2026
- Updated
- Nov 5, 2026
- Reserved
- Nov 4, 2026
Description
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.
| Product | Versions |
|---|---|
| c-blosc2 Blosc | before 3.5.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | VulnCheck | |
| 3.1 | 5.5 Medium | VulnCheck |
Weaknesses
- CWE-369 Divide By Zero
References
- https://github.com/Blosc/c-blosc2/issues/834Issue Tracker
- https://github.com/Blosc/c-blosc2/commit/4fff1787408d94b895c6f9cb50f7925ad5919052Patch
- https://github.com/Blosc/c-blosc2/blob/v3.4.1/blosc/schunk.c#L1662-L1700Technical Details
- https://github.com/Blosc/c-blosc2/blob/v3.4.1/blosc/frame.c#L1214-L1227Technical Details
- https://hackmd.io/@haindpwn/c-blosc2-schunk-slice-divide-by-zeroThird-Party Advisory
- https://github.com/Blosc/c-blosc2Product Page
- VulnCheck Advisory: Blosc c-blosc2 before 3.5.0 Divide-by-Zero via blosc2_schunk_get_slice_buffer()Third-Party Advisory
- https://hackmd.io/@haindpwn/cve-2026-122330-c-blosc2-schunk-slice-divide-by-zeroExploit
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.