{"id":"CVE-2026-58088","aliases":["CVE-2026-58088"],"related":[],"kind":"vulnerability","state":"published","title":"Race condition in ELF core dump segment counting","summary":"The ELF core dump code counted the number of dumpable VM map entries, allocated a buffer for the corresponding program headers, then iterated over the map a second time to populate them.  A process sharing the address space via rfork(2) can mutate the map between the two passes, causing the second pass to write program headers past the end of the buffer.\n\nAn unprivileged local user sharing an address space with a process that dumps core can trigger an out-of-bounds write on the kernel heap, potentially leading to privilege escalation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The ELF core dump code counted the number of dumpable VM map entries, allocated a buffer for the corresponding program headers, then iterated over the map a second time to populate them.  A process sharing the address space via rfork(2) can mutate the map between the two passes, causing the second pass to write program headers past the end of the buffer.\n\nAn unprivileged local user sharing an address space with a process that dumps core can trigger an out-of-bounds write on the kernel heap, potentially leading to privilege escalation.","source":"cvelist"},{"lang":"es","text":"El código de volcado de memoria ELF contó el número de entradas de mapa de VM volcables, asignó un búfer para los encabezados de programa correspondientes y luego iteró sobre el mapa una segunda vez para poblarlos. Un proceso que comparte el espacio de direcciones a través de rfork(2) puede mutar el mapa entre las dos pasadas, haciendo que la segunda pasada escriba encabezados de programa más allá del final del búfer.\n\nUn usuario local sin privilegios que comparte un espacio de direcciones con un proceso que vuelca memoria puede desencadenar una escritura fuera de límites en el heap del kernel, lo que podría llevar a una escalada de privilegios.","source":"nvd"}],"published":"2026-08-19T07:52:13.411Z","modified":"2026-10-27T12:10:00.343Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":7.4,"rating":"HIGH"}],"cwes":["CWE-362","CWE-787"],"affected":[{"ranges":[{"type":"release","introduced":"15.1-RELEASE","fixed":"p2","status":"affected"},{"type":"release","introduced":"15.0-RELEASE","fixed":"p12","status":"affected"},{"type":"release","introduced":"14.4-RELEASE","fixed":"p8","status":"affected"}],"vendor":"FreeBSD","product":"FreeBSD","source":"cvelist"},{"ranges":[{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"14.4"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"},{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"}],"vendor":"freebsd","product":"freebsd","cpe":"cpe:2.3:o:freebsd:freebsd:14.4:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:55.elf.asc","tags":["mailing-list","vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Maik Muench of Secfault Security"],"assigner":"freebsd","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-19T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58088","url":"https://www.cve.org/CVERecord?id=CVE-2026-58088","licence":"CVE Terms of Use","modified":"2026-08-20T03:55:42.675Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58088","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58088","licence":"Public domain","modified":"2026-10-27T12:10:00.343Z"}],"updatedAt":"2026-11-25T22:59:33.914Z","epss":{"score":0.00106,"percentile":0.01209,"date":"2026-12-01T12:00:22.000Z"}}