CVE-2026-95831
Received Received - Intake

Malware in Crypt::SelfCertificate Perl Module

Vulnerability report for CVE-2026-95831, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-22

Last updated on: 2026-09-22

Assigner: CPANSec

Description

Crypt::SelfCertificate versions from 1.01 through 1.05 for Perl contains malware which executes Python code from an obfuscated URL. The generate_certificate runs a Python script saved as a certificate file. The pyhton script attempts to retrieve code from a hardcoded http URL that is obfuscated with base64 encoding and run the response body directly. The impact is that arbitrary code can be invoked as the user, without a dropped script being saved on the affected host. The releases have no test scripts nor build hooks. The intention may have been to trigger the payload after installation. For version 1.01, the dropper script is in lib/Crypt/SelfCertificate/sample/validate.p12. For version 1.05, the dropper script is in lib/Crypt/SelfCertificate/sample/cert7.pem. The SHA-256 digests of the files are fbff21f45ff748365062a5e36fb2d72558cad82a507a6f357f320b4fcdf07760 Crypt-SelfCertificate-1.01.tar.gz 27b2d2d3174ad771474fff2521f5084ec231e9218ea8c832515aef1cbd5897bc lib/Crypt/SelfCertificate/sample/validate.p12 9fdfa7d69b034b77d4510cda567e8da1e486ca81c7daaadc5732a45c41d71991 Crypt-SelfCertificate-1.05.tar.gz 27b2d2d3174ad771474fff2521f5084ec231e9218ea8c832515aef1cbd5897bc lib/Crypt/SelfCertificate/sample/cert7.pem

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-22
Last Modified
2026-09-22
Generated
2026-09-22
AI Q&A
2026-09-22
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-506 The product contains code that appears to be malicious in nature.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Crypt::SelfCertificate versions 1.01 through 1.05 for Perl contain malware. The generate_certificate function runs a Python script saved as a certificate file. This script downloads and executes code from a hardcoded obfuscated HTTP URL without saving the script on the host. The malware is embedded in sample files validate.p12 (1.01) and cert7.pem (1.05).

The vulnerability allows arbitrary code execution as the user running the script. The payload is fetched directly from a remote server, bypassing local file storage.

Detection Guidance

Check for the presence of the malicious files validate.p12 or cert7.pem in the Crypt::SelfCertificate module directories. Use commands like 'find / -name validate.p12 2>/dev/null' or 'find / -name cert7.pem 2>/dev/null' to search for these files.

Impact Analysis

If you installed any version from 1.01 to 1.05 of Crypt::SelfCertificate, your system may execute malicious code without your knowledge. The code runs with your user permissions, potentially allowing attackers to take control of your system, steal data, or install further malware.

Compliance Impact

This vulnerability could lead to unauthorized data access or exfiltration, violating GDPR (data protection) and HIPAA (health data privacy). Organizations using affected versions may face compliance breaches, legal penalties, and reputational damage due to potential data leaks or system compromise.

Mitigation Strategies

Remove the Crypt::SelfCertificate module from your system immediately. Check for any unusual network activity or unauthorized processes running Python scripts. Monitor system logs for suspicious outbound connections.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-95831. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart