dhcpcd 10.3.0 NULL dereference in option parsing (CVE-2025-70102)
parse_option() in src/if-options.c follows a NULL dhcp_opt pointer while handling crafted configuration input.
44
A NULL pointer dereference occurs in Roy Marples NetworkConfiguration/dhcpcd 10.3.0 while parsing configuration options. In parse_option() (src/if-options.c:1886), the code performs a member access on a NULL pointer of type 'struct dhcp_opt' when an unexpected/invalid option token or parsing state causes the lookup to yield NULL. The instrumented fuzzing build reports 'runtime error: member access within null pointer of type struct dhcp_opt' and aborts.
parse_option() in src/if-options.c follows a NULL dhcp_opt pointer while handling crafted configuration input.
Today 1.3K readers · 2.1K views · 1.6K reads · all time 160K views