D-Bus Vulnerability (CVE-2022-42012) in dbus Package

dbus Updated 02 Oct 2025

Summary

10/10/2022
N/A
Yes i
Medium
6.5

CVE-2022-42012: An issue was discovered in D-Bus before 1.12.24, 1.13.x and 1.14.x before 1.14.4, and 1.15.x before 1.15.2. Affects dbus across 2 version ranges.

< 1.12.24-r0 < 5ff925648e88ba29cef7d708bc2bbc5d6de5fc48

Fixed in 1.12.24-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

D-Bus is a message bus system that allows communication between applications running on the same machine. It provides a simple and reliable way for processes to exchange messages. The dbus package is an implementation of the D-Bus protocol for Linux and other Unix-like systems. It is used by various programs to enable inter-process communication. However, a vulnerability has been discovered in D-Bus that can lead to crashes in dbus-daemon and other programs using libdbus.

Vulnerability Detail

The vulnerability (CVE-2022-42012) in D-Bus allows an authenticated attacker to crash dbus-daemon and other programs that use libdbus by sending a message with attached file descriptors in an unexpected format. This can be exploited to disrupt the normal operation of affected systems and potentially cause denial of service (DoS) conditions. The vulnerability has a CVSS score of 6.5, indicating a medium severity level.

How To Fix

Minimum fixed version

1.12.24-r0

This is the first release that contains the fix.

sudo apk add --upgrade dbus

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by updating the dbus package to the patched version.

Conclusion

The D-Bus vulnerability (CVE-2022-42012) in the dbus package can be exploited by an authenticated attacker to crash dbus-daemon and other programs using libdbus. To mitigate the risk, it is essential to update the dbus package to version 1.12.24 or later. This update includes a patch that addresses the vulnerability and prevents the crash caused by the unexpected format of file descriptors in messages. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for dbus →

Share this vulnerability

FAQ

D-Bus is a message bus system that enables communication between applications running on the same machine. It provides a simple and reliable way for processes to exchange messages.

The vulnerability allows an authenticated attacker to crash dbus-daemon and other programs using libdbus by sending a message with file descriptors in an unexpected format. This can lead to denial of service (DoS) conditions and disrupt the normal operation of affected systems.

To fix the vulnerability, update the dbus package to version 1.12.24 or later. This update includes a patch that addresses the issue and prevents the crash caused by the unexpected format of file descriptors in messages.

No, there is no known workaround for this vulnerability. It is crucial to apply the recommended fix by updating the dbus package to the patched version.

The CVSS score of this vulnerability is 6.5, indicating a medium severity level.

Related vulnerabilities

Recent vulnerabilities recorded for dbus.

How To Fix

Minimum fixed version

1.12.24-r0

This is the first release that contains the fix.

sudo apk add --upgrade dbus

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback