# CVE-2025-48990: NeKernel has Heap Overflow in `rt_copy_memory`

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-06-02T11:21:48.580Z
- Modified: 2026-06-17T09:30:37.700Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nekernel-org nekernel: = 0.0.2

## References

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

## Sources

- CVE List: [CVE-2025-48990](https://www.cve.org/CVERecord?id=CVE-2025-48990), CVE Terms of Use, modified 2025-06-02
- NVD: [CVE-2025-48990](https://nvd.nist.gov/vuln/detail/CVE-2025-48990), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-48990 · Whole record: https://cve.day/CVE-2025-48990.json · Rebuilt by cve.day 2026-11-25T22:58:58.654Z
