Read the docs
TI-2022-02334 Aliases CVE-2022-2526GHSA-f4r4-2gxf-88xj

Use after free in systemd-resolved

Priority MEDIUM 45CWE-416Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.

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.

Why it matters now

EPSS 0.01424 73rd percentileScored 2026-11-07
Fix Fixed Red Hat: 6 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—systemd-resolvedsystemd 240—No fix listedCNA
  • systemd-resolved Vendor— Affected systemd 240 Fixed in — No fix listed CNA

CPE configurations NVD · 10

CPEVersionsRoleVendor
cpe:2.3:a:systemd_project:systemd:240:*:*:*:*:*:*:*240Vulnerablesystemd
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*not specified by NVDVulnerableNetApp
cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:*not specified by NVDRunning onNetApp
cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:*not specified by NVDRunning onNetApp
cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:*not specified by NVDRunning onNetApp
cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:*not specified by NVDRunning onNetApp
  • cpe:2.3:a:systemd_project:systemd:240:*:*:*:*:*:*:* Versions 240 Vulnerable ·systemd
  • cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
  • cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
  • cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
  • cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp

Remediation

Red Hat 6 advisories

  • RHSA-2022:6551 Released 2022-09-19 · Red Hat rating Important
    Red Hat Virtualization security update
    • 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.6
  • RHSA-2022:6206 Released 2022-08-29 · Red Hat rating Important
    systemd security update
    • Red Hat Enterprise Linux BaseOS (v. 8) systemd-239-58.el8_6.4, systemd-container-239-58.el8_6.4, systemd-devel-239-58.el8_6.4 +5
  • RHSA-2022:6160 Released 2022-08-24 · Red Hat rating Important
    systemd security update
    • Red Hat Enterprise Linux Client (v. 7) libgudev1-219-78.el7_9.7, systemd-219-78.el7_9.7, systemd-libs-219-78.el7_9.7 +2
    • Red Hat Enterprise Linux Client Optional (v. 7) libgudev1-devel-219-78.el7_9.7, systemd-devel-219-78.el7_9.7, systemd-journal-gateway-219-78.el7_9.7 +2
    • Red Hat Enterprise Linux ComputeNode Optional (v. 7) libgudev1-devel-219-78.el7_9.7, systemd-devel-219-78.el7_9.7, systemd-journal-gateway-219-78.el7_9.7 +2
    • Red Hat Enterprise Linux Server (v. 7) libgudev1-219-78.el7_9.7, libgudev1-219-78.el7_9.7.ppc, libgudev1-devel-219-78.el7_9.7 +8
    • Red Hat Enterprise Linux Server Optional (v. 7) systemd-journal-gateway-219-78.el7_9.7, systemd-networkd-219-78.el7_9.7, systemd-resolved-219-78.el7_9.7 +1
    • Red Hat Enterprise Linux Workstation (v. 7) libgudev1-219-78.el7_9.7, libgudev1-devel-219-78.el7_9.7, systemd-219-78.el7_9.7 +4
    • Red Hat Enterprise Linux Workstation Optional (v. 7) systemd-journal-gateway-219-78.el7_9.7, systemd-networkd-219-78.el7_9.7, systemd-resolved-219-78.el7_9.7
Show 3 more Red Hat advisories
  • RHSA-2022:6161 Released 2022-08-24 · Red Hat rating Important
    systemd security update
    • Red Hat Enterprise Linux BaseOS EUS (v.8.4) systemd-239-45.el8_4.12, systemd-container-239-45.el8_4.12, systemd-devel-239-45.el8_4.12 +5
  • RHSA-2022:6162 Released 2022-08-24 · Red Hat rating Important
    systemd security update
    • Red Hat Enterprise Linux BaseOS EUS (v. 8.2) systemd-239-31.el8_2.9, systemd-container-239-31.el8_2.9, systemd-devel-239-31.el8_2.9 +5
  • RHSA-2022:6163 Released 2022-08-24 · Red Hat rating Important
    systemd security update
    • Red Hat Enterprise Linux BaseOS E4S (v. 8.1) systemd-239-18.el8_1.11, systemd-container-239-18.el8_1.11, systemd-devel-239-18.el8_1.11 +5

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2022:6206
Red Hat Enterprise Linux BaseOS E4S (v. 8.1)Fixed RHSA-2022:6163
Red Hat Enterprise Linux BaseOS EUS (v. 8.2)Fixed RHSA-2022:6162
Red Hat Enterprise Linux BaseOS EUS (v.8.4)Fixed RHSA-2022:6161
Red Hat Enterprise Linux Client (v. 7)Fixed RHSA-2022:6160
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2022:6160
Red Hat Enterprise Linux ComputeNode Optional (v. 7)Fixed RHSA-2022:6160
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2022:6160
Red Hat Enterprise Linux Server Optional (v. 7)Fixed RHSA-2022:6160
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2022:6160
Red Hat Enterprise Linux Workstation Optional (v. 7)Fixed RHSA-2022:6160
Red Hat Virtualization 4 Hypervisor for RHEL 8Fixed RHSA-2022:6551
Not affected: 2 products
  • RHEL 8-based RHEV-H for RHEV 4 (build requirements)
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-2526
  2. 2026-10-03 Alias added: GHSA-f4r4-2gxf-88xj

References

Sources