LiveActive security incident?Get immediate response
CVE Record

CVE-2015-1326: python-dbusmock arbitrary code execution or file overwrite when templates are loaded from /tmp

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.

MediumCVSS 5.7Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This flaw affects python-dbusmock before 0.15.1 when loading templates. If an attacker can supply a malicious .pyc file, affected template-loading paths could execute code or overwrite files. The business risk is mainly to systems where this package is installed and used with untrusted or shared temporary template locations.

Executive priority

Prioritize as a moderate local-risk issue. Address during normal patch cycles unless python-dbusmock is used on shared systems or operational workflows load templates from writable temporary paths.

Technical view

CVE-2015-1326 involves python-dbusmock AddTemplate() over D-Bus and DBusTestCase.spawn_server_template(). Sources state versions before 0.15.1 could be tricked into executing malicious code if an attacker supplies a .pyc file, with risk tied to templates loaded from /tmp.

Likely exposure

Exposure is likely limited to Ubuntu environments with python-dbusmock installed, especially where vulnerable versions before 0.15.1 are present and template-loading functionality is used. The source bundle does not identify other vendors, products, or specific Ubuntu package versions.

Exploitation context

The CVSS vector indicates local access, low privileges, and user interaction. KEV is false, and the provided sources do not report active exploitation. Treat exploitation status as unconfirmed rather than active.

Researcher notes

Evidence is narrow: the record names python-dbusmock before 0.15.1, two affected APIs, malicious .pyc input, and /tmp template-loading context. No exploit details, patch notes beyond the referenced commit, or broad affected-product list are provided.

Mitigation direction

  • Upgrade python-dbusmock to 0.15.1 or later where available.
  • Check Ubuntu vendor guidance for package-specific remediation.
  • Avoid loading python-dbusmock templates from untrusted shared temporary locations.
  • Restrict write access to locations used for python-dbusmock templates.
  • Remove python-dbusmock where it is not required.

Validation and detection

  • Inventory systems for installed python-dbusmock packages.
  • Confirm installed versions are not earlier than 0.15.1.
  • Review code or tests using AddTemplate() or spawn_server_template().
  • Check whether template paths use /tmp or other shared writable directories.
  • Document any systems where vendor-fixed packages are unavailable.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2015-1326 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.7 (3.0)
Known Exploited
No
Published

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.7CVSS 3.0MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L1.53.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

5.7Medium
CVSS 3.0 vector shape for CVE-2015-1326Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Ubuntupython-dbusmockunspecifiedListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.