mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -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:
|
||
|---|---|---|
| .. | ||
| cnv_tests.cc | ||
| dnv_tests.cc | ||
| Makefile | ||
| Makefile.depend | ||
| nv_array_tests.cc | ||
| nv_tests.cc | ||
| nvlist_add_test.c | ||
| nvlist_append_test.c | ||
| nvlist_exists_test.c | ||
| nvlist_free_test.c | ||
| nvlist_get_test.c | ||
| nvlist_move_test.c | ||
| nvlist_send_recv_test.c | ||