HackproofHacks

Vulnerability

Malware Found in Perl Module

oss-security (seclists) covered this vulnerability on Sep 22, 2026. Below is a plain-English breakdown of what it is, how it actually works, and whether it matters, written for people who are curious about hacking and security but don't have a technical background.

oss-security (seclists) · Sep 22, 2026

In plain words

Think of a library like a bookshelf where you store books to use later. In this case, the bookshelf is a Perl module called Crypt::SelfCertificate, and it has some bad books that can execute malicious Python code from a hidden URL.¹

What's broken

The bug is in versions 1.01 through 1.05 of the Crypt::SelfCertificate module for Perl, which contains malware that can execute Python code from an obfuscated URL. This is tracked as CVE-2026-95831². An attacker could use this to run malicious code on a system that uses this module.

How it actually works

The malware works by using the module's API to load a sample certificate, which then executes the malicious Python code from the hidden URL. This is a type of remote code execution³, or RCE, where an attacker can run code on a system without being directly connected to it. The module is used to generate certificates, but the malware uses this functionality to load and run malicious code instead.

Proof of concept

There is a public discussion about the issue, but it is not clear from the source if a proof-of-concept, or PoC⁴, exists to demonstrate the bug. A PoC would show that the flaw is real and can be exploited, making it more urgent to fix. If a PoC exists, it would likely involve using the module's API to load a malicious certificate and execute the Python code.

Is it real

It is not clear from the source if the bug is being actively exploited in the wild. The module does not have any reverse dependencies, according to CPAN⁵, which means that few other modules rely on it. This limiting factor might reduce the impact of the bug.

What to do

To fix the issue, you should update the Crypt::SelfCertificate module to a version that does not contain the malware. You can check the module's changes page for more information on the updates and how to apply them.

Terms

¹ malware
, A type of malware that can execute code from a remote location, often used to attack systems
² CVE-2026-95831
, A unique identifier for a security vulnerability, used to track and fix the issue
³ remote code execution
, A type of attack where an attacker can run code on a system without being directly connected to it
⁴ proof-of-concept
, A demonstration of a security vulnerability, used to show that the flaw is real and can be exploited
⁵ CPAN
, A repository of Perl modules, used to manage and update dependencies

Learn the fundamentals

Want to understand the concepts behind this item? These in-depth HackproofHacks guides explain the underlying techniques from the ground up.

About this explainer

KeepLooped tracks the newest offensive-security tools, techniques, vulnerabilities and research from 80+ trusted sources and turns the most important items into plain-language explainers, so people learning security can keep up without a technical background. This page summarises and explains the source linked below; it was produced with AI assistance and is meant as a beginner-friendly starting point. Always confirm specifics, versions, CVE details, and exploitation status, against the original source and official advisories. Curated and published by HackproofHacks.