mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
nvlist_check_header() validated nvlh_size for overflow before performing conversion. An mallicous user can set NV_FLAG_BIG_ENDIAN in the header and craft nvlh_size so that the orginall value passes the check, but after the conversion the sizeof(nvlist_header) + size can overflow. This can lead to a heap buffer overflow. Approved by: so Security: FreeBSD-SA-26:17.libnv Security: CVE-2026-35547 Fixes: 36fa90dbde0060aacb5677d0b113ee168e839071 Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D56342 |
||
|---|---|---|
| .. | ||
| bsd_nvpair.c | ||
| cnvlist.c | ||
| dnvlist.c | ||
| nv_impl.h | ||
| nvlist.c | ||
| nvlist_impl.h | ||
| nvpair_impl.h | ||