mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -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:
|
||
|---|---|---|
| .. | ||
| tests | ||
| common_impl.h | ||
| Makefile | ||
| Makefile.depend | ||
| msgio.c | ||
| msgio.h | ||
| Version.map | ||