{"id":"CVE-2026-58465","summary":"Eclipse Wakaama CoAP Block1 Handler Unbounded Memory Allocation DoS","details":"Eclipse Wakaama before snapshot/2026-05-26 contains an unbounded memory allocation vulnerability in the CoAP Block1 handler within coap/block.c that allows unauthenticated remote attackers to exhaust server memory by sending a sequence of Block1 PUT requests with incrementing block numbers. Attackers can target the registration endpoint over UDP without authentication, causing the server to repeatedly reallocate a growing accumulation buffer by appending each block payload without enforcing any maximum total size limit, resulting in denial of service through memory exhaustion.","modified":"2026-10-28T11:10:05.850675908Z","published":"2026-07-02T17:55:12.038Z","database_specific":{"cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58465.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58465.json"},{"type":"ADVISORY","url":"https://github.com/eclipse-wakaama/wakaama/releases/tag/snapshots%2F2026-05-26"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58465"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/eclipse-wakaama-coap-block1-handler-unbounded-memory-allocation-dos"},{"type":"REPORT","url":"https://github.com/eclipse-wakaama/wakaama/pull/881"},{"type":"FIX","url":"https://github.com/eclipse-wakaama/wakaama/commit/a83f1ca28fa090fbc03c3669fef40daf4f89cd03"},{"type":"PACKAGE","url":"https://github.com/eclipse-wakaama/wakaama"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eclipse-wakaama/wakaama","events":[{"introduced":"0"},{"fixed":"94ff56f77a2d24a5890e0e703809a47633aa7d4b"},{"fixed":"a83f1ca28fa090fbc03c3669fef40daf4f89cd03"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"snapshot/2026-05-26"}]},{"range":[{"fixed":"a83f1ca28fa090fbc03c3669fef40daf4f89cd03"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["snapshots/2023-03-31","snapshots/2022-08-03","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58465.json","vanir_signatures":[{"id":"CVE-2026-58465-2d561d96","signature_type":"Line","signature_version":"v1","source":"https://github.com/eclipse-wakaama/wakaama/commit/a83f1ca28fa090fbc03c3669fef40daf4f89cd03","target":{"file":"tests/coap_block1tests.c"},"deprecated":false,"digest":{"line_hashes":["254574986245705885662859023578170410883","155392224499935136968742554198138353894","268159411966634232766203272479565361860","236939823293802254555735352902235955941","136003925378428211672187817758103963686","36423602874163882900132844395046552873","59498748051464752253410391580504916921"],"threshold":0.9}},{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["337096335392383423073743292748412706153","11442959011888515220836921659688857948","232379546947811818304968619741593555081","224136790071251271716899748016645816539","252872889566176505574087096851356962501"]},"id":"CVE-2026-58465-61425c92","signature_type":"Line","signature_version":"v1","source":"https://github.com/eclipse-wakaama/wakaama/commit/94ff56f77a2d24a5890e0e703809a47633aa7d4b","target":{"file":"core/utils.h"}},{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["158528153232812557957671936996116711714","272176330633608605602778382679201106604","306144939249196516164395808661809270326","3736915231569427197042036952812710344","127334465535583168453793204543033871427","154485193524848940712316427095798032104","310127351164098418364392475415943007556","325858155812552750063741325664534361825","200965581496659461502317299520831222531","228543374181642487848951554432646027311","61469434015382375305014590593426048246","220410333469309199781767063638064048073"]},"id":"CVE-2026-58465-7c8d15c0","signature_type":"Line","signature_version":"v1","source":"https://github.com/eclipse-wakaama/wakaama/commit/94ff56f77a2d24a5890e0e703809a47633aa7d4b","target":{"file":"core/utils.c"}},{"digest":{"function_hash":"159709002318293063716442216406308442693","length":257},"id":"CVE-2026-58465-8ac25324","signature_type":"Function","signature_version":"v1","source":"https://github.com/eclipse-wakaama/wakaama/commit/94ff56f77a2d24a5890e0e703809a47633aa7d4b","target":{"file":"core/utils.c","function":"utils_stringCopy"},"deprecated":false},{"id":"CVE-2026-58465-a0b40c5a","signature_type":"Function","signature_version":"v1","source":"https://github.com/eclipse-wakaama/wakaama/commit/a83f1ca28fa090fbc03c3669fef40daf4f89cd03","target":{"function":"prv_coap_block_handler","file":"coap/block.c"},"deprecated":false,"digest":{"function_hash":"248155539965842206699278287991987471196","length":1494}},{"source":"https://github.com/eclipse-wakaama/wakaama/commit/94ff56f77a2d24a5890e0e703809a47633aa7d4b","target":{"file":"tests/core_utils_tests.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["276280429345231685310590720332735684009","34734848796319868788709654827539902401","60777782290802548560222915144855854646","300277431082132796910483252738073695656","220911888910088752126811810820785855513","316255190246198272369072621067148857583","192284655751359088334787030121138864566"]},"id":"CVE-2026-58465-ac926eec","signature_type":"Line","signature_version":"v1"},{"target":{"file":"coap/block.c"},"deprecated":false,"digest":{"line_hashes":["40634180268366884496138022984649067380","212405834832827732985586244637627649933","230231201715750187825274237849696519263","293305728399603890987630647751350716057","174649095191718470396214942515235351382","192257635115597055900902778847850343544","234375329169740172336585081790780506921","114667304822017033816334418361744942761","337447643777904453855818732707196117823","4059139140162262212724154641559360268"],"threshold":0.9},"id":"CVE-2026-58465-eaa84f1d","signature_type":"Line","signature_version":"v1","source":"https://github.com/eclipse-wakaama/wakaama/commit/a83f1ca28fa090fbc03c3669fef40daf4f89cd03"}],"vanir_signatures_modified":"2026-10-28T11:10:05Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}