CVE-2015-1326 json
python-dbusmock arbitrary code execution or file overwrite when templates are loaded from /tmp
published 7y ago modified 4mo ago also GHSA-74xw-82v7-hmrm , PYSEC-2019-155 , EUVD-2019-0112
- cvss
- 5.7
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi python-dbusmock 0.15.1
- Ubuntu python-dbusmock 0.15.1
- python-dbusmock Debian 14, Debian 13, Debian 12 0.15.1-1
debian advisories DEBIAN-CVE-2015-1326
- python-dbusmock Ubuntu 14.04 LTS 0.10.1-1ubuntu1
ubuntu advisories UBUNTU-CVE-2015-1326
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2015-1326 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-1326 updated cvss 3.7
python-dbusmock: arbitrary code execution or file overwrite when templates are loaded from /tmp
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.82% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 5.7 | CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L |
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | python-dbusmock | <0.15.1 |
0.15.1 |
Affected products
- Ubuntu python-dbusmock
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/martinpitt/python-dbusmock/commit/4e7d0df9093
web, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2015-1326
advisory
-
github.com
/martinpitt/python-dbusmock
package
-
github.com
/pypa/advisory-database/tree/main/vulns/python-dbusmock/PYSEC-2019-155.yaml
web
-
github.com
/advisories/GHSA-74xw-82v7-hmrm
advisory
Sources
- CVE List CVE-2015-1326
- GitHub Advisory GHSA-74xw-82v7-hmrm
- NVD CVE-2015-1326
- OSV PYSEC-2019-155
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.