CVE-2022-2526 json
A use-after-free vulnerability was found in systemd.
published 2022-09-09 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-34781
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
A use-after-free vulnerability was found in systemd. This issue occurs due to the on_stream_io() function and dns_stream_complete() function in 'resolved-dns-stream.c' not incrementing the reference counting for the DnsStream object. Therefore, other functions and callbacks called can dereference the DNSStream object, causing the use-after-free when the reference is still used later.
Patch / fix
- systemd Debian 14, Debian 13, Debian 12 240-1
debian advisories DEBIAN-CVE-2022-2526
- systemd Ubuntu 18.04 LTS 237-3ubuntu10.54
ubuntu advisories UBUNTU-CVE-2022-2526
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- systemd RHEL 7 219-78.el7_9.7
- libgudev1 RHEL 7 219-78.el7_9.7
- systemd-libs RHEL 7 219-78.el7_9.7
- systemd-sysv RHEL 7 219-78.el7_9.7
- systemd-python RHEL 7 219-78.el7_9.7
- systemd-networkd RHEL 7 219-78.el7_9.7
- systemd-resolved RHEL 7 219-78.el7_9.7
- systemd-journal-gateway RHEL 7 219-78.el7_9.7
red hat advisories RHSA-2022:6161RHSA-2022:6160RHSA-2022:6551RHSA-2022:6206RHSA-2022:6162RHSA-2022:6163
- systemd AlmaLinux 8 239-58.el8_6.4
- systemd-pam AlmaLinux 8 239-58.el8_6.4
- systemd-libs AlmaLinux 8 239-58.el8_6.4
- systemd-udev AlmaLinux 8 239-58.el8_6.4
- systemd-tests AlmaLinux 8 239-58.el8_6.4
- systemd-container AlmaLinux 8 239-58.el8_6.4
- systemd-journal-remote AlmaLinux 8 239-58.el8_6.4
almalinux advisories ALSA-2022:6206
- systemd Rocky Linux 8 239-58.el8_6.4
rocky linux advisories RLSA-2022:6206
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-2526 updated cvss 9.8
systemd-resolved: use-after-free when dealing with DnsStream in resolved-dns-stream.c
-
Red Hat Enterprise Linux BaseOS (v. 8) systemd 239-58.el8_6.4, systemd-pam 239-58.el8_6.4, systemd-libs 239-58.el8_6.4, systemd-udev 239-58.el8_6.4, systemd-tests 239-58.el8_6.4, systemd-container 239-58.el8_6.4, +1 morefixed: vendor fix RHSA-2022:6206
-
Red Hat Enterprise Linux BaseOS E4S (v. 8.1) systemd 239-18.el8_1.11, systemd-pam 239-18.el8_1.11, systemd-libs 239-18.el8_1.11, systemd-udev 239-18.el8_1.11, systemd-tests 239-18.el8_1.11, systemd-container 239-18.el8_1.11, +1 morefixed: vendor fix RHSA-2022:6163
-
Red Hat Enterprise Linux BaseOS EUS (v. 8.2) systemd 239-31.el8_2.9, systemd-pam 239-31.el8_2.9, systemd-libs 239-31.el8_2.9, systemd-udev 239-31.el8_2.9, systemd-tests 239-31.el8_2.9, systemd-container 239-31.el8_2.9, +1 morefixed: vendor fix RHSA-2022:6162
-
Red Hat Enterprise Linux BaseOS EUS (v.8.4) systemd 239-45.el8_4.12, systemd-pam 239-45.el8_4.12, systemd-libs 239-45.el8_4.12, systemd-udev 239-45.el8_4.12, systemd-tests 239-45.el8_4.12, systemd-container 239-45.el8_4.12, +1 morefixed: vendor fix RHSA-2022:6161
-
Red Hat Enterprise Linux Client (v. 7) systemd 219-78.el7_9.7, libgudev1 219-78.el7_9.7, systemd-libs 219-78.el7_9.7, systemd-sysv 219-78.el7_9.7, systemd-python 219-78.el7_9.7 Red Hat Enterprise Linux Client Optional (v. 7) systemd-networkd 219-78.el7_9.7, systemd-resolved 219-78.el7_9.7, systemd-journal-gateway 219-78.el7_9.7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) systemd-networkd 219-78.el7_9.7, systemd-resolved 219-78.el7_9.7, systemd-journal-gateway 219-78.el7_9.7 Red Hat Enterprise Linux Server (v. 7) systemd 219-78.el7_9.7, libgudev1 219-78.el7_9.7, systemd-libs 219-78.el7_9.7, systemd-sysv 219-78.el7_9.7, systemd-python 219-78.el7_9.7 Red Hat Enterprise Linux Server Optional (v. 7) systemd-networkd 219-78.el7_9.7, systemd-resolved 219-78.el7_9.7, systemd-journal-gateway 219-78.el7_9.7 Red Hat Enterprise Linux Workstation (v. 7) systemd 219-78.el7_9.7, libgudev1 219-78.el7_9.7, systemd-libs 219-78.el7_9.7, systemd-sysv 219-78.el7_9.7, systemd-python 219-78.el7_9.7fixed: vendor fix RHSA-2022:6160
+1 more productsfewer
Red Hat Enterprise Linux Workstation Optional (v. 7) systemd-networkd 219-78.el7_9.7, systemd-resolved 219-78.el7_9.7, systemd-journal-gateway 219-78.el7_9.7 -
Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host 4.5.2-202209140405_8.6, redhat-virtualization-host-image-update 4.5.2-202209140405_8.6fixed: vendor fix RHSA-2022:6551
-
Red Hat Enterprise Linux 9 systemd, systemd-pam, systemd-libs, systemd-oomd, systemd-udev, systemd-ukify, +6 more Red Hat RHEL 8-based RHEV-H for RHEV 4 (build requirements) redhat-release-virtualization-host 4.5.2-1.el8ev, redhat-virtualization-host-productimg 4.5.2-1.el8, redhat-release-virtualization-host-content 4.5.2-1.el8ev, redhat-virtualization-host-image-update-placeholder 4.5.2-1.el8evnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-25-105-08 updated cvss 8.8
ABB M2M Gateway
-
ABB M2M Gateway >=4.1.2, <=5.0.3, >=5.0.1, <=5.0.3affected: mitigation
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
1.42% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- n/a systemd-resolved
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/systemd/systemd/commit/d973d94dec349fb676fdd844f6fe2ada3538f27c
patch, third-party-advisory
-
security.netapp.com
/advisory/ntap-20221111-0005/
third-party-advisory
Sources
- CVE List CVE-2022-2526
- NVD CVE-2022-2526
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.