CVE-2022-2526
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| systemd-devel | Amazon Linux | 219-78.amzn2.0.20 |
| systemd-resolved | Amazon Linux | 219-78.amzn2.0.20 |
| libgudev1-devel | Amazon Linux | 219-78.amzn2.0.20 |
| systemd-networkd | Amazon Linux | 219-78.amzn2.0.20 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | systemd-resolved | systemd 240 |
| amazon:2 | systemd-devel | 0 |
| amazon:2 | systemd-resolved | 0 |
| amazon:2 | libgudev1-devel | 0 |
| amazon:2 | systemd-networkd | 0 |
| n/a | systemd-resolved | * |
| amazon:2 | systemd | 0 |
| amazon:2 | systemd-python | 0 |
| amazon:2 | systemd-journal-gateway | 0 |
| amazon:2 | systemd-sysv | 0 |
| amazon:2 | systemd-libs | 0 |
| amazon:2 | libgudev1 | 0 |
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