p PatchFirst

CVE-2022-2526

CVE-2022-2526

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.8 · Critical · EPSS 1.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • systemd-resolved

    Versions
    • systemd 240: Affected

    No fix published

  • systemd Debian:12

    Affected ranges
    • ECOSYSTEM: < 240-1

    Update to 240-1

  • systemd Debian:13

    Affected ranges
    • ECOSYSTEM: < 240-1

    Update to 240-1

  • systemd Debian:14

    Affected ranges
    • ECOSYSTEM: < 240-1

    Update to 240-1

  • systemd Ubuntu:18.04:LTS

    Versions
    • 234-2ubuntu12
    • 235-2ubuntu3
    • 235-3ubuntu2
    • 235-3ubuntu3
    • 237-3ubuntu3
    • 237-3ubuntu4
    • 237-3ubuntu6
    • 237-3ubuntu7
    • 237-3ubuntu8
    • 237-3ubuntu10
    • 237-3ubuntu10.2
    • 237-3ubuntu10.3
    • 237-3ubuntu10.4
    • 237-3ubuntu10.6
    • 237-3ubuntu10.9
    • 237-3ubuntu10.11
    • 237-3ubuntu10.12
    • 237-3ubuntu10.13
    • 237-3ubuntu10.15
    • 237-3ubuntu10.17
    • 237-3ubuntu10.19
    • 237-3ubuntu10.20
    • 237-3ubuntu10.21
    • 237-3ubuntu10.22
    • 237-3ubuntu10.23
    • 237-3ubuntu10.24
    • 237-3ubuntu10.25
    • 237-3ubuntu10.26
    • 237-3ubuntu10.28
    • 237-3ubuntu10.29
    • 237-3ubuntu10.31
    • 237-3ubuntu10.33
    • 237-3ubuntu10.38
    • 237-3ubuntu10.39
    • 237-3ubuntu10.40
    • 237-3ubuntu10.41
    • 237-3ubuntu10.42
    • 237-3ubuntu10.43
    • 237-3ubuntu10.44
    • 237-3ubuntu10.45
    • 237-3ubuntu10.46
    • 237-3ubuntu10.47
    • 237-3ubuntu10.48
    • 237-3ubuntu10.49
    • 237-3ubuntu10.50
    • 237-3ubuntu10.51
    • 237-3ubuntu10.52
    • 237-3ubuntu10.53
    Affected ranges
    • ECOSYSTEM: < 237-3ubuntu10.54

    Update to 237-3ubuntu10.54

Original sources

Check your server →