Description
A code injection vulnerability in the wxExecute() function of OpenCPN v5.12.0 allows attackers to execute arbitrary code via embedding shell metacharacters.
Published: 2026-06-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OpenCPN 5.12.0 contains a code injection flaw in the wxExecute() function that allows attackers to embed shell metacharacters and execute arbitrary commands. This vulnerability belongs to CWE-77 and can lead to full compromise of the system running OpenCPN, including data theft, modification, or denial of service.

Affected Systems

The vulnerability is present in OpenCPN version 5.12.0. No other affected versions have been documented.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity, while the EPSS score of less than 1% shows a low probability of exploitation at the time of this analysis, and the vulnerability is not listed in CISA's KEV catalog. The likely attack vector is the execution of malicious input via the wxExecute() call, which may be local to the user or via untrusted data if the application accepts external input. If exploited, an attacker can run any shell command with the privileges of the OpenCPN process.

Generated by OpenCVE AI on June 18, 2026 at 01:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenCPN to the latest release that removes the wxExecute command injection flaw.
  • Run OpenCPN with the least privilege necessary for its operation to limit damage if command injection is successful.
  • If an upgrade is not immediately possible, modify the application code to replace wxExecute calls with a safer API that does not invoke the shell, or add strict input validation that sanitizes shell metacharacters.
  • Enable logging and monitoring for unexpected command execution to detect potential exploitation attempts.

Generated by OpenCVE AI on June 18, 2026 at 01:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 19 Jun 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Opencpn
Opencpn opencpn
Vendors & Products Opencpn
Opencpn opencpn

Thu, 18 Jun 2026 04:45:00 +0000

Type Values Removed Values Added
Title OpenCPN 5.12.0 Command Injection via wxExecute

Tue, 16 Jun 2026 23:15:00 +0000

Type Values Removed Values Added
Title OpenCPN 5.12.0 Command Injection via wxExecute

Mon, 15 Jun 2026 21:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-77
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 15 Jun 2026 19:30:00 +0000

Type Values Removed Values Added
Description A code injection vulnerability in the wxExecute() function of OpenCPN v5.12.0 allows attackers to execute arbitrary code via embedding shell metacharacters.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-06-15T20:23:21.227Z

Reserved: 2025-08-17T00:00:00.000Z

Link: CVE-2025-56814

cve-icon Vulnrichment

Updated: 2026-06-15T20:23:15.295Z

cve-icon NVD

Status : Deferred

Published: 2026-06-15T20:16:24.587

Modified: 2026-06-16T15:51:29.037

Link: CVE-2025-56814

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-19T09:36:09Z

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')