Malicious Code Vulnerability in matplotliv Package

matplotliv Updated 03 Dec 2025

Summary

26/09/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191787: Malicious code in matplotliv (PyPI). Affects matplotliv versions 0.1.0. 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 matplotliv package, available on PyPI, is designed for data visualization in Python, similar to the well-known matplotlib library. It aims to provide users with tools for creating static, animated, and interactive visualizations in Python. However, the package has been identified as a typosquatting attempt, which poses a risk to users who may inadvertently install it instead of the legitimate matplotlib package.

Vulnerability Detail

The vulnerability originates from a malicious code embedded in the matplotliv package, which is a result of typosquatting. This type of attack involves creating a package with a name similar to a legitimate one, tricking users into installing it. The malicious code collects sensitive data but does not exfiltrate it, which could lead to potential privacy violations and data leaks if exploited. The package was identified as part of a campaign targeting users of the matplotlib library, with the intention of misleading them into using a compromised version.

How To Fix

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

pip uninstall matplotliv

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 workaround, users can manually check their installed packages and ensure that they are using the correct matplotlib package. You can list your installed packages with the command: pip list and confirm that 'matplotlib' is installed instead of 'matplotliv'.

Conclusion

The matplotliv package poses a significant risk due to its malicious code and typosquatting nature. Users are advised to uninstall this package and ensure they are using the legitimate matplotlib package to protect their data and maintain the integrity of their applications.

See every vulnerability recorded for matplotliv →

Share this vulnerability

FAQ

Typosquatting is a malicious practice where attackers create a package with a name similar to a legitimate package to trick users into installing it.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If you have installed matplotliv, you should uninstall it immediately and install the legitimate matplotlib package instead.

While the malicious code collects sensitive data, it does not exfiltrate it. However, it is recommended to uninstall the package to mitigate any risks.

Always verify package names before installation and consider using tools like Vulert to monitor for vulnerabilities in your dependencies.

How To Fix

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

pip uninstall matplotliv

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