Malicious Code Detected in pb-common Package - Vulnerability MAL-2025-6562

pb-common Updated 02 Oct 2025

Summary

31/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6562: Malicious code in pb-common (PyPI). Affects pb-common versions 0.0.1. No fix is published. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The pb-common package is a Python library available on PyPI that is designed to facilitate common functionalities for Python applications. It is utilized by developers to streamline their coding processes. However, this package has been identified to contain malicious code, which poses significant risks to users and their applications.

Vulnerability Detail

The vulnerability identified as MAL-2025-6562 originates from a malicious version of the pb-common package (version 0.0.1). This version has been flagged for containing harmful code that could compromise the security of applications utilizing it. The ramifications of this vulnerability include potential data breaches, unauthorized access to sensitive information, and the possibility of further exploitation by malicious actors. Users are strongly advised to avoid using this version of the package.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall pb-common

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can avoid using the pb-common package altogether until a secure version is released. Alternatively, consider using similar packages that do not have known vulnerabilities.

Conclusion

The pb-common package has been flagged for containing malicious code, posing significant risks to users. It is crucial to remove the affected version and monitor for updates or alternatives. Utilizing tools like Vulert can help maintain security in your applications.

See every vulnerability recorded for pb-common →

Share this vulnerability

FAQ

The pb-common package is a Python library designed to provide common functionalities for developers, making coding easier and more efficient.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without signing up.

If you have installed version 0.0.1 of the pb-common package, you should uninstall it immediately and check for any updates or alternatives.

While specific exploits have not been detailed, the presence of malicious code indicates a high risk of exploitation, including data theft and unauthorized access.

Utilize tools like Vulert to monitor your dependencies for vulnerabilities. This tool provides real-time alerts and insights into potential risks.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall pb-common

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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