# CVE-2022-2526: A use-after-free vulnerability was found in systemd.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.49%, higher than 74% of CVEs (2026-12-01)
- Published: 2022-09-09T00:00:00.000Z
- Modified: 2026-06-17T04:42:03.703Z
- Weaknesses: CWE-416
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- systemd-resolved: systemd 240
- systemd_project systemd: 240
- netapp active_iq_unified_manager: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h410s_firmware: no versions given

## References

- <https://github.com/systemd/systemd/commit/d973d94dec349fb676fdd844f6fe2ada3538f27c> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20221111-0005/> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-2526](https://www.cve.org/CVERecord?id=CVE-2022-2526), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-2526](https://nvd.nist.gov/vuln/detail/CVE-2022-2526), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2526 · Whole record: https://cve.day/CVE-2022-2526.json · Rebuilt by cve.day 2026-11-25T22:58:14.795Z
