CVE Vulnerabilities

CVE-2022-0934

Use After Free

Published: Aug 29, 2022 | Modified: Nov 03, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A single-byte, non-arbitrary write/use-after-free flaw was found in dnsmasq. This flaw allows an attacker who sends a crafted packet processed by dnsmasq, potentially causing a denial of service.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
DnsmasqThekelleys*2.87 (excluding)
Red Hat Enterprise Linux 8RedHatdnsmasq-0:2.79-24.el8*
Red Hat Enterprise Linux 8.6 Extended Update SupportRedHatdnsmasq-0:2.79-21.el8_6.5*
Red Hat Enterprise Linux 9RedHatdnsmasq-0:2.85-5.el9*
DnsmasqUbuntubionic*
DnsmasqUbuntudevel*
DnsmasqUbuntuesm-infra-legacy/trusty*
DnsmasqUbuntuesm-infra/bionic*
DnsmasqUbuntuesm-infra/focal*
DnsmasqUbuntuesm-infra/xenial*
DnsmasqUbuntufocal*
DnsmasqUbuntuimpish*
DnsmasqUbuntujammy*
DnsmasqUbuntukinetic*
DnsmasqUbuntutrusty*
DnsmasqUbuntutrusty/esm*
DnsmasqUbuntuxenial*

Potential Mitigations

References