systemd DnsStream Object resolved-dns-stream.c on_stream_io/dns_stream_complete use after free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.6 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in systemd. This impacts the function on_stream_io/dns_stream_complete of the file resolved-dns-stream.c of the component DnsStream Object Handler. The manipulation leads to use after free.
This vulnerability is uniquely identified as CVE-2022-2526. No exploit exists.
It is suggested to install a patch to address this issue.
Details
A vulnerability, which was classified as critical, has been found in systemd (affected version not known). This issue affects the function on_stream_io/dns_stream_complete of the file resolved-dns-stream.c of the component DnsStream Object Handler. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The weakness was disclosed 09/10/2022 as d973d94dec349fb676fdd844f6fe2ada3538f27c. The advisory is shared at github.com. The identification of this vulnerability is CVE-2022-2526 since 07/24/2022. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 292749 (MiracleLinux 7 : systemd-219-78.el7.7 (AXSA:2022-3733:06)), which helps to determine the existence of the flaw in a target environment.
Applying the patch d973d94dec349fb676fdd844f6fe2ada3538f27c is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the databases at Tenable (292749) and EUVD (EUVD-2022-34781). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Name
License
Website
- Product: https://github.com/systemd/systemd/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.6
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 292749
Nessus Name: MiracleLinux 7 : systemd-219-78.el7.7 (AXSA:2022-3733:06)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: d973d94dec349fb676fdd844f6fe2ada3538f27c
Timeline
07/24/2022 🔍09/10/2022 🔍
09/10/2022 🔍
05/26/2026 🔍
Sources
Product: github.comAdvisory: d973d94dec349fb676fdd844f6fe2ada3538f27c
Status: Confirmed
CVE: CVE-2022-2526 (🔍)
GCVE (CVE): GCVE-0-2022-2526
GCVE (VulDB): GCVE-100-208217
EUVD: 🔍
Entry
Created: 09/10/2022 07:47Updated: 05/26/2026 02:21
Changes: 09/10/2022 07:47 (42), 10/15/2022 08:14 (11), 01/21/2026 00:14 (16), 05/26/2026 02:21 (2)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.