CVE Vulnerabilities

CVE-2022-0934

Use After Free

Published: Aug 29, 2022 | Modified: Jun 10, 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

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

Name Vendor Start Version End Version
Dnsmasq Thekelleys * 2.87 (excluding)
Red Hat Enterprise Linux 8 RedHat dnsmasq-0:2.79-24.el8 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat dnsmasq-0:2.79-21.el8_6.5 *
Red Hat Enterprise Linux 9 RedHat dnsmasq-0:2.85-5.el9 *
Dnsmasq Ubuntu bionic *
Dnsmasq Ubuntu devel *
Dnsmasq Ubuntu esm-infra-legacy/trusty *
Dnsmasq Ubuntu esm-infra/bionic *
Dnsmasq Ubuntu esm-infra/focal *
Dnsmasq Ubuntu esm-infra/xenial *
Dnsmasq Ubuntu focal *
Dnsmasq Ubuntu impish *
Dnsmasq Ubuntu jammy *
Dnsmasq Ubuntu kinetic *
Dnsmasq Ubuntu trusty *
Dnsmasq Ubuntu trusty/esm *
Dnsmasq Ubuntu xenial *

Potential Mitigations

References