{"id":"CVE-2025-48990","summary":"NeKernel has Heap Overflow in `rt_copy_memory`","details":"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.","aliases":["GHSA-jvvh-fp57-2p32"],"modified":"2026-08-14T09:05:43.665497Z","published":"2025-06-02T11:21:48.580Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48990.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48990.json"},{"type":"ADVISORY","url":"https://github.com/nekernel-org/nekernel/security/advisories/GHSA-jvvh-fp57-2p32"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48990"},{"type":"FIX","url":"https://github.com/nekernel-org/nekernel/commit/fb7b7f658327f659c6a6da1af151cb389c2ca4ee"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ne-app-open/krnl","events":[{"introduced":"b3b4b1ebdcd6adeac914869017c86d892b7a8ced"},{"fixed":"fb7b7f658327f659c6a6da1af151cb389c2ca4ee"}],"database_specific":{"extracted_events":[{"introduced":"= 0.0.2"},{"last_affected":"= 0.0.2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["= 0.0.2","0.0.2e3","0.0.2e2-amend","0.0.2e1","0.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48990.json","vanir_signatures_modified":"2026-08-14T09:05:43Z","vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://github.com/ne-app-open/krnl/commit/fb7b7f658327f659c6a6da1af151cb389c2ca4ee","target":{"file":"dev/kernel/src/Utils.cc","function":"rt_copy_memory"},"deprecated":false,"digest":{"function_hash":"340099191607508938541935709471504002270","length":288},"id":"CVE-2025-48990-0148d593"},{"digest":{"line_hashes":["205569601243072063969397700056058779080","321028228831023360729403572311695742721","129676316191552096120723322204553179137","249004707416268271447399041811798934016"],"threshold":0.9},"id":"CVE-2025-48990-cb72bcb1","signature_type":"Line","signature_version":"v1","source":"https://github.com/ne-app-open/krnl/commit/fb7b7f658327f659c6a6da1af151cb389c2ca4ee","target":{"file":"dev/kernel/src/Utils.cc"},"deprecated":false}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}