{"id":"CVE-2025-48990","published":"2025-06-02T11:21:48Z","modified":"2025-06-02T16:39:42Z","title":"NeKernel has Heap Overflow in `rt_copy_memory`","vendor":"nekernel-org","product":"nekernel","tier":"tail","description":{"text":"NeKernal is a free and open-source operating system stack. Version 0.0.2 has a 1-byte heap overflow in `rt_copy_memory`, which unconditionally wrote a null terminator at `dst[len]`. When `len` equals the size of the destination buffer (256 bytes), that extra `'\\0'` write overruns the buffer by one byte. To avoid breaking existing callers or changing the public API, the patch in commit fb7b7f658327f659c6a6da1af151cb389c2ca4ee takes a minimal approach: it simply removes the overflow-causing line without adding bounds checks or altering the function signature.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00189,"percentile":0.08709,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/nekernel-org/nekernel/security/advisories/GHSA-jvvh-fp57-2p32","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nekernel-org/nekernel/commit/fb7b7f658327f659c6a6da1af151cb389c2ca4ee","tags":["x_refsource_MISC"]}],"priority":{"score":7.8,"factors":[{"name":"EPSS percentile","points":1.74},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"nekernel-org","affectedVersions":[{"vendor":"nekernel-org","product":"nekernel","versions":["= 0.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-06-02T16:30:47.661891Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-16632","exploited":false,"provenance":"source"}}