{"id":"CVE-2025-48990","aliases":["CVE-2025-48990"],"related":[],"kind":"vulnerability","state":"published","title":"NeKernel has Heap Overflow in `rt_copy_memory`","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"NeKernal es una pila de sistema operativo libre y de código abierto. La versión 0.0.2 presenta un desbordamiento de pila de 1 byte en `rt_copy_memory`, que escribió incondicionalmente un terminador nulo en `dst[len]`. Cuando `len` es igual al tamaño del búfer de destino (256 bytes), esa escritura adicional `'\\0'` desborda el búfer en un byte. Para evitar interrumpir las llamadas existentes o modificar la API pública, el parche en el commit fb7b7f658327f659c6a6da1af151cb389c2ca4ee adopta un enfoque minimalista: simplemente elimina la línea que causa el desbordamiento sin añadir comprobaciones de los límites ni modificar la firma de la función.","source":"nvd"}],"published":"2025-06-02T11:21:48.580Z","modified":"2026-06-17T09:30:37.700Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.6,"rating":"HIGH"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"version":"= 0.0.2","status":"affected"}],"vendor":"nekernel-org","product":"nekernel","source":"cvelist"}],"references":[{"url":"https://github.com/nekernel-org/nekernel/security/advisories/GHSA-jvvh-fp57-2p32","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nekernel-org/nekernel/commit/fb7b7f658327f659c6a6da1af151cb389c2ca4ee","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-06-02T16:30:47.661Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-48990","url":"https://www.cve.org/CVERecord?id=CVE-2025-48990","licence":"CVE Terms of Use","modified":"2025-06-02T16:39:42.539Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-48990","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48990","licence":"Public domain","modified":"2026-06-17T09:30:37.700Z"}],"updatedAt":"2026-11-25T22:58:58.654Z","epss":{"score":0.00189,"percentile":0.08929,"date":"2026-12-01T12:00:22.000Z"}}