{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-2526","id":"CVE-2022-2526","title":"A use-after-free vulnerability was found in systemd","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.","descriptionLong":"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.","published":"2022-09-09T00:00:00.000Z","updated":"2026-10-28T10:27:30.811268415Z","reserved":"2022-07-24T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"}],"rating":"critical","products":["systemd-resolved"],"affectedProducts":[{"vendor":"n/a","product":"systemd-resolved","defaultStatus":null,"versions":[{"version":"systemd 240","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://github.com/systemd/systemd/commit/d973d94dec349fb676fdd844f6fe2ada3538f27c","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://security.netapp.com/advisory/ntap-20221111-0005/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2526.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2526","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01424,"epssPercentile":0.73477,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-2526","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2526","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-2526","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-2526","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}