Soumettre #673138: dnsmasq dnsmasq v2.73rc6 Heap-based Buffer Overflowinformation

Titrednsmasq dnsmasq v2.73rc6 Heap-based Buffer Overflow
DescriptionA heap buffer overflow exists in dnsmasq v2.73rc6 when parsing DHCP option hexadecimal values. The vulnerability is in `parse_hex()` (src/util.c) which can write past the end of the allocated buffer (callers allocate based on a computed byte count). A crafted DHCP option in `dnsmasq.conf` causes `parse_hex()` to overflow the heap buffer during configuration parsing, resulting in a crash and potential memory corruption. Reproduce by replacing `dnsmasq.conf` with the supplied config and starting dnsmasq; an ASan build produces a reliable crash referencing `parse_hex`.
La source⚠️ https://shimo.im/docs/1d3aMVMmNmiLjg3g/
Utilisateur
 zh_vul (UID 91488)
Soumission11/10/2025 05:30 (il y a 8 mois)
Modérer25/10/2025 08:22 (14 days later)
StatutAccepté
Entrée VulDB329868 [dnsmasq jusqu’à 2.73rc6 Config File src/util.c parse_hex i buffer overflow]
Points20

Want to know what is going to be exploited?

We predict KEV entries!