Description
python-dbusmock before version 0.15.1 AddTemplate() D-Bus method call or DBusTestCase.spawn_server_template() method could be tricked into executing malicious code if an attacker supplies a .pyc file.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Ubuntu | python-dbusmock | unspecified – < 0.15.1 | 0.15.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-dbusmock | 0.15.1-1 | — |
| Debian 13 | python-dbusmock | 0.15.1-1 | — |
| Debian 12 | python-dbusmock | 0.15.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | python-dbusmock | 0.10.1-1ubuntu1 | USN-2618-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | python-dbusmock | < 0.15.1 | 0.15.1 | GHSA-74xw-82v7-hmrm |
Advisories 1
- USN-2618-1 python-dbusmock vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026