In ISC DHCP 4.4.0 -> 4.4.3, ISC DHCP 4.1-ESV-R1 -> 4.1-ESV-R16-P1, when the function option_code_hash_lookup() is called from add_option(), it increases the option's refcount field. However, there is not a corresponding call to option_dereference() to decrement the refcount field. The function add_option() is only used in server responses to lease query packets. Each lease query response calls this function for several options, so eventually, the reference counters could overflow and cause the server to abort.

References[email protected]/message/QQXYCIWUDILRCNBAIMVFCSGXBRKEPB4K/[email protected]/message/T6IBFH4MRRNJQVWEKILQ6I6CXWW766FX/[email protected]/message/2SARIK7KZ7MGQIWDRWZFAOSQSPXY4GOU/


Source: MITRE

Published: 2022-10-07

Updated: 2022-11-28

Type: CWE-476