CVE-2015-1326: Improper Input Validation in python-dbusmock

python-dbusmock Updated 02 Oct 2025

Summary

23/04/2019
Yes i
High
8.8

CVE-2015-1326: Improper Input Validation in python-dbusmock. Affects python-dbusmock versions < 0.15.1. Fixed in 0.15.1. How to fix ↓

Also tracked for

The same CVE-2015-1326 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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

python-dbusmock is a Python library that allows developers to create mock D-Bus services for testing purposes. It provides a convenient way to simulate D-Bus interfaces and objects. However, versions prior to 0.15.1 are vulnerable to an improper input validation issue.

Vulnerability Detail

The vulnerability in python-dbusmock arises from the AddTemplate() D-Bus method call or DBusTestCase.spawn_server_template() method. An attacker can exploit this vulnerability by supplying a malicious .pyc file. This can lead to the execution of arbitrary code, potentially compromising the security and integrity of the system. The vulnerability has a CVSS score of 8.8, indicating a high severity level.

How To Fix

Minimum fixed version

0.15.1

This is the first release that contains the fix.

pip install --upgrade "python-dbusmock==0.15.1"

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 crucial to update to the patched version of python-dbusmock to mitigate the risk of exploitation.

Conclusion

In conclusion, python-dbusmock versions prior to 0.15.1 are vulnerable to an improper input validation issue. This can be exploited by an attacker to execute arbitrary code on the affected system. It is crucial to update to version 0.15.1 or later to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for python-dbusmock →

Share this vulnerability

FAQ

python-dbusmock is a Python library used for creating mock D-Bus services for testing purposes. It allows developers to simulate D-Bus interfaces and objects.

This vulnerability can be exploited by an attacker to execute arbitrary code on the affected system. This can lead to unauthorized access, data breaches, and potential system compromise.

To fix this vulnerability, update python-dbusmock to version 0.15.1 or later. This version includes the necessary security patches to address the vulnerability.

No, there is no known workaround for this vulnerability. It is essential to update to the patched version of python-dbusmock.

This vulnerability has a CVSS score of 8.8, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for python-dbusmock.

How To Fix

Minimum fixed version

0.15.1

This is the first release that contains the fix.

pip install --upgrade "python-dbusmock==0.15.1"

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