{"id":"CVE-2026-122330","summary":"Blosc c-blosc2 before 3.5.0 Divide-by-Zero via blosc2_schunk_get_slice_buffer()","details":"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.","modified":"2026-11-17T17:27:29.887404699Z","published":"2026-11-05T15:11:48.557Z","related":["openSUSE-SU-2026:12562-1"],"database_specific":{"cwe_ids":["CWE-369"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122330.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122330.json"},{"type":"ADVISORY","url":"https://hackmd.io/@haindpwn/c-blosc2-schunk-slice-divide-by-zero"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122330"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/blosc-c-blosc2-before-3.5.0-divide-by-zero-via-blosc2-schunk-get-slice-buffer"},{"type":"REPORT","url":"https://github.com/Blosc/c-blosc2/issues/834"},{"type":"FIX","url":"https://github.com/Blosc/c-blosc2/commit/4fff1787408d94b895c6f9cb50f7925ad5919052"},{"type":"PACKAGE","url":"https://github.com/Blosc/c-blosc2"},{"type":"ARTICLE","url":"https://github.com/Blosc/c-blosc2/blob/v3.4.1/blosc/frame.c#L1214-L1227"},{"type":"ARTICLE","url":"https://github.com/Blosc/c-blosc2/blob/v3.4.1/blosc/schunk.c#L1662-L1700"},{"type":"EVIDENCE","url":"https://hackmd.io/@haindpwn/cve-2026-122330-c-blosc2-schunk-slice-divide-by-zero"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/blosc/c-blosc2","events":[{"introduced":"0"},{"fixed":"4d35a0dbeee037c0c724a96a8e5ed9b07c31b67f"},{"fixed":"4fff1787408d94b895c6f9cb50f7925ad5919052"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"3.5.0"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"4fff1787408d94b895c6f9cb50f7925ad5919052"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v3.4.1","v3.4.0","v3.3.5","v3.3.4","v3.3.3","v3.3.2","v3.3.1","v3.3.0","v3.2.3","v3.2.2","v3.2.1","v3.2.0","v3.1.5","v3.1.4","v3.1.3","v3.1.2","v3.1.1","v3.1.0","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v3.0.0.rc2","v3.0.0.rc1","v2.23.1","v2.23.0","v2.22.0","v2.21.3","v2.21.2","v2.21.1","v2.21.0","v2.20.0","v2.19.1","v2.19.0","v2.18.0","v2.17.1","v2.17.0","v2.16.0","v2.15.2","v2.15.1","v2.15.0","v2.14.4","v2.14.3","v2.14.2","v2.14.1","v2.14.0","v2.13.2","v2.13.1","v2.13.0","v2.12.0","v2.11.3","v2.11.2","v2.11.1","v2.11.0","v2.10.4","v2.10.3","v2.10.2","v2.10.1","v2.10.0","v2.9.3","v2.9.2","v2.9.1","v2.9.0","v2.8.0","v2.7.1","v2.7.0","v2.6.1","v2.6.0","v2.5.0","v2.4.3","v2.4.2","v2.4.1","v2.4.0","v2.3.1","v2.3.0","v2.2.0","v2.1.1","v2.1.0","v2.0.4","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v2.0.0-rc2","v2.0.0.rc1","v2.0.0.beta.5","v2.0.0-beta.4","v2.0.0-beta.3","v2.0.0-beta.1","v2.0.0a5","v2.0.0a4","v2.0.0a3","v2.0.0a2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-122330.json","vanir_signatures":[{"target":{"function":"blosc2_schunk_set_slice_buffer","file":"blosc/schunk.c"},"deprecated":false,"digest":{"length":2220,"function_hash":"33932052157546396255047613307488753047"},"id":"CVE-2026-122330-04819c7d","signature_type":"Function","signature_version":"v1","source":"https://github.com/blosc/c-blosc2/commit/4fff1787408d94b895c6f9cb50f7925ad5919052"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/blosc/c-blosc2/commit/4fff1787408d94b895c6f9cb50f7925ad5919052","target":{"file":"blosc/schunk.c"},"deprecated":false,"digest":{"line_hashes":["229922013272816712103491793187780884028","272370966814682697414630896913324225606","8610355556919029826206665039110371424","41442108642887478908078420241131926051","142641977264591822069036261045050763187","336470707357235997604843044193361175440","117861074999205617932764768817529121707","14204364453240584703693079095468058638","284947166820172438756738003763310507431","69783538415120756456877639995220297994","102129108479180331428842938401690332715","225041074674649428591124263604360113153","79454355115933218845430246354875833613","405141186530620105105402133195818441","141031836256476207277693651114374285","252710028034336219459727361372657236463","255243809157687339267229950373922896044","251152904705405143247984102864908435924","235744359271054594614274125920049497268","330351940961729890885455563601753808515","275647762347092339902331109465351845482","277109958469664317256648444045410913381","2788239924549008174768761395283595441","24781887991070517390494642134512961115","54250190496418313107104632250759713967","250863401251308041798406934271227714897","24757262985967041785911110717267975488","233520742768042780501954397850902610761","231260371507173680621860078991042661106","292382548408246545581232428612887374970"],"threshold":0.9},"id":"CVE-2026-122330-0c6122ba"},{"source":"https://github.com/blosc/c-blosc2/commit/4fff1787408d94b895c6f9cb50f7925ad5919052","target":{"file":"blosc/frame.c","function":"frame_get_lazychunk"},"deprecated":false,"digest":{"function_hash":"274720328560928345845784595013802081467","length":7761},"id":"CVE-2026-122330-39d0ab4a","signature_type":"Function","signature_version":"v1"},{"id":"CVE-2026-122330-58fb059b","signature_type":"Function","signature_version":"v1","source":"https://github.com/blosc/c-blosc2/commit/4fff1787408d94b895c6f9cb50f7925ad5919052","target":{"file":"blosc/schunk.c","function":"schunk_get_slice_nchunks"},"deprecated":false,"digest":{"function_hash":"88547064690944458807014640165979661948","length":599}},{"signature_version":"v1","source":"https://github.com/blosc/c-blosc2/commit/4fff1787408d94b895c6f9cb50f7925ad5919052","target":{"file":"blosc/schunk.c","function":"blosc2_schunk_get_slice_buffer"},"deprecated":false,"digest":{"function_hash":"289878352092033171190447154654493662676","length":437},"id":"CVE-2026-122330-5f5d2686","signature_type":"Function"},{"deprecated":false,"digest":{"function_hash":"127560873583652088722082587985561705004","length":2239},"id":"CVE-2026-122330-62c789f7","signature_type":"Function","signature_version":"v1","source":"https://github.com/blosc/c-blosc2/commit/4fff1787408d94b895c6f9cb50f7925ad5919052","target":{"file":"blosc/schunk.c","function":"schunk_get_slice_buffer_unlocked"}},{"id":"CVE-2026-122330-8d1547ad","signature_type":"Line","signature_version":"v1","source":"https://github.com/blosc/c-blosc2/commit/4fff1787408d94b895c6f9cb50f7925ad5919052","target":{"file":"blosc/blosc2.c"},"deprecated":false,"digest":{"line_hashes":["302736554380046737934847450123058183890","102017360825552578045602320003405806797","334827694221565765351717265278648060664","220152550325428274086154330812323659059"],"threshold":0.9}},{"target":{"function":"blosc2_get_slice_nchunks","file":"blosc/blosc2.c"},"deprecated":false,"digest":{"length":528,"function_hash":"69172722186387612223315967294739183071"},"id":"CVE-2026-122330-ba0936b6","signature_type":"Function","signature_version":"v1","source":"https://github.com/blosc/c-blosc2/commit/4fff1787408d94b895c6f9cb50f7925ad5919052"},{"signature_version":"v1","source":"https://github.com/blosc/c-blosc2/commit/4fff1787408d94b895c6f9cb50f7925ad5919052","target":{"file":"blosc/frame.c"},"deprecated":false,"digest":{"line_hashes":["291120215556730888660680012865867623796","304531496599553899311439858166882600056","149444227560415873453977953622805718439","260026063903759334264950219359311119816","141452824883542268178219846089995722681","106963785167986827387652971229222515861","271630667645731476535349638942410041931","244502673180612287821796498134229039609","222130036452408831857694160613399387464","262376600167967191318626010176863461915","121582640481623199451036904396864151615","208478192510834042753149594863450017201","231881015949554142517193644612425990442","327152487316896572914059916095888232520","293474290719107891228511241587095766316"],"threshold":0.9},"id":"CVE-2026-122330-e4d4e6ba","signature_type":"Line"},{"digest":{"length":3887,"function_hash":"124660004146855155862859497820761136767"},"id":"CVE-2026-122330-faa508e6","signature_type":"Function","signature_version":"v1","source":"https://github.com/blosc/c-blosc2/commit/4fff1787408d94b895c6f9cb50f7925ad5919052","target":{"file":"blosc/frame.c","function":"get_chunk"},"deprecated":false}],"vanir_signatures_modified":"2026-11-14T01:06:16Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}