Command Injection Vulnerability in Picocom Package

picocom Updated 02 Oct 2025

Summary

28/05/2017
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2015-9059: picocom before 2.0 has a command injection vulnerability in the 'send and receive file' command because the command line is executed by /bin/sh unsafely. Affects picocom versions < 1.7-2. Fixed in 1.7-2. How to fix ↓

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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Picocom is a minimal terminal emulation program designed for communication with serial devices. It is lightweight and often used for embedded systems and debugging purposes. The package allows users to send and receive files over serial connections, but it has a critical vulnerability that can be exploited through unsafe command execution.

Vulnerability Detail

The vulnerability identified as CVE-2015-9059 exists in Picocom versions prior to 2.0. It arises from the way the 'send and receive file' command is executed. Specifically, the command line is passed to /bin/sh without proper sanitization, allowing an attacker to inject arbitrary commands. This could lead to unauthorized command execution on the host system, potentially compromising the integrity and confidentiality of the system.

How To Fix

Minimum fixed version

1.7-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade picocom

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users should avoid using the 'send and receive file' command in Picocom until the package is updated to a secure version. Additionally, users can restrict the execution of Picocom in environments where command injection could pose a significant risk.

Conclusion

The command injection vulnerability in Picocom poses a significant risk to users, especially in environments where serial communication is critical. It is essential to update to the latest version to mitigate this risk. Users are encouraged to monitor their software for vulnerabilities using tools like Vulert, which can provide real-time alerts without requiring extensive setup.

See every vulnerability recorded for picocom →

Share this vulnerability

FAQ

CVE-2015-9059 is a command injection vulnerability found in Picocom versions before 2.0, allowing attackers to execute arbitrary commands.

You can check your version of Picocom by running the command 'picocom --version' in your terminal.

If left unaddressed, this vulnerability could allow attackers to execute malicious commands, potentially leading to data breaches or system compromise.

Yes, tools like Vulert can monitor and alert you in real-time for open-source vulnerabilities using just a manifest file.

Detailed information can be found in the Debian CVE database or by visiting the Vulert website.

Related vulnerabilities

Recent vulnerabilities recorded for picocom.

How To Fix

Minimum fixed version

1.7-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade picocom

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