VDB

CVE-2022-2526

CVE-2022-2526 PUBLISHED

Reported by redhat · Published September 9, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
systemd-develAmazon Linux219-78.amzn2.0.20
systemd-resolvedAmazon Linux219-78.amzn2.0.20
libgudev1-develAmazon Linux219-78.amzn2.0.20
systemd-networkdAmazon Linux219-78.amzn2.0.20

Affected products

VendorProductVersions
n/asystemd-resolvedsystemd 240
amazon:2systemd-devel0
amazon:2systemd-resolved0
amazon:2libgudev1-devel0
amazon:2systemd-networkd0
n/asystemd-resolved*
amazon:2systemd0
amazon:2systemd-python0
amazon:2systemd-journal-gateway0
amazon:2systemd-sysv0
amazon:2systemd-libs0
amazon:2libgudev10

Timeline

  • Aug 24, 2022 CVE Published
  • Sep 10, 2022 EPSS Score (30 in total, the first dated here)
  • Apr 3, 2025 PoC Published
  • Mar 17, 2026 Security Advisory (13 in total, the first dated here)
  • Jul 1, 2026 Coalition ESS Score
  • Nov 21, 2026 Distribution Patch (12 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-2526
vulnetix vdb fixes CVE-2022-2526

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-2526/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›