CVE-2022-2526
publishedsystemd-resolved: use-after-free when dealing with DnsStream in resolved-dns-stream.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | systemd-resolvedsystemd 240 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1854 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 7 | systemd-resolvedaarch64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-resolvedi686 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| AlmaLinux | 8 | systemd | Advisory build | 239-58.el8_6.4 | ALSA-2022:6206 |
| Oracle Linux | 7 | systemd-resolvedx86_64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-resolvedppc | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | systemd-resolvedppc64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-resolvedppc64le | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-resolveds390 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-resolveds390x | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-resolvedx86_64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| AlmaLinux | 8 | systemd-container | Advisory build | 239-58.el8_6.4 | ALSA-2022:6206 |
| AlmaLinux | 8 | systemd-devel | Advisory build | 239-58.el8_6.4 | ALSA-2022:6206 |
| AlmaLinux | 8 | systemd-journal-remote | Advisory build | 239-58.el8_6.4 | ALSA-2022:6206 |
| AlmaLinux | 8 | systemd-libs | Advisory build | 239-58.el8_6.4 | ALSA-2022:6206 |
| AlmaLinux | 8 | systemd-pam | Advisory build | 239-58.el8_6.4 | ALSA-2022:6206 |
| AlmaLinux | 8 | systemd-tests | Advisory build | 239-58.el8_6.4 | ALSA-2022:6206 |
| AlmaLinux | 8 | systemd-udev | Advisory build | 239-58.el8_6.4 | ALSA-2022:6206 |
| Oracle Linux | 7 | libgudev1aarch64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | libgudev1x86_64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | libgudev1-develaarch64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | libgudev1-develx86_64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemdaarch64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemdx86_64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemd-develaarch64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemd-develx86_64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemd-journal-gatewayaarch64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemd-journal-gatewayx86_64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemd-libsaarch64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemd-libsx86_64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemd-networkdaarch64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemd-networkdx86_64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemd-pythonaarch64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemd-pythonx86_64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemd-sysvaarch64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 7 | systemd-sysvx86_64 | Advisory build | 0:219-78.0.9.el7_9.7 | ELSA-2022-6160 |
| Oracle Linux | 8 | systemdaarch64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemdx86_64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-containeraarch64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-containerx86_64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-develaarch64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-develx86_64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-journal-remoteaarch64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-journal-remotex86_64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-libsaarch64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-libsx86_64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-pamaarch64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-pamx86_64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-testsaarch64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-testsx86_64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-udevaarch64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Oracle Linux | 8 | systemd-udevx86_64 | Advisory build | 0:239-58.0.1.el8_6.4 | ELSA-2022-6206 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1i686 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1ppc | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1ppc64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1ppc64le | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1s390 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1s390x | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1x86_64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1-develi686 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1-develppc | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1-develppc64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1-develppc64le | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1-devels390 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1-devels390x | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | libgudev1-develx86_64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemdppc64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemdppc64le | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemds390x | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemdsrc | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemdx86_64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-debuginfoi686 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-debuginfoppc | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-debuginfoppc64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-debuginfoppc64le | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-debuginfos390 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-debuginfos390x | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-debuginfox86_64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-develi686 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-develppc | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-develppc64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-develppc64le | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-devels390 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-devels390x | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-develx86_64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-journal-gatewayppc64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-journal-gatewayppc64le | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-journal-gateways390x | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-journal-gatewayx86_64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-libsi686 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-libsppc | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-libsppc64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-libsppc64le | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-libss390 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-libss390x | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-libsx86_64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-networkdppc64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-networkdppc64le | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-networkds390x | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-networkdx86_64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
| Red Hat Enterprise Linux | RHEL-7 | systemd-pythonppc64 | Advisory build | 219-78.el7_9.7 | RHSA-2022:6160 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | systemd-resolved | systemd 240 (affected) | redhat · cna |
Weaknesses
1- CWE-416
References
2Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b68455c6f1ffec76b8aadf5bd52461305f8e64ff2f510e2885d34b5e05ad7def
- Ingested
- 23 Sep 2026, 08:00:01 UTC
- Source record
- Official CVE record