Re: CVE-2026-95831: Crypt::SelfCertificate versions from 1.01 through 1.05 for Perl contains malware which executes Python code from an obfuscated URL
CVE-2026-95831: malicious Crypt::SelfCertificate 1.01–1.05 runs Python from an obfuscated URL.
OSS-Security discussion of CVE-2026-95831 says Crypt::SelfCertificate versions 1.01 through 1.05 on CPAN contain malware. The malicious releases execute Python code retrieved from an obfuscated URL. MetaCPAN requirement and changelog pages were not loading, which a poster attributed to the distribution being yanked. The follow-up asked whether the module ever had a legitimate release.
- CVE-2026-95831 covers Crypt::SelfCertificate versions 1.01 through 1.05.
- Those releases execute Python code fetched from an obfuscated URL.
- MetaCPAN pages were unavailable after the distribution was yanked.
- A reply asked whether any legitimate release ever existed.
Vulnerabilities mentionedAll →
- CVE-2026-958317.8—Embedded Malware in Perl CPAN Module Crypt::SelfCertificate 1.01–1.05published · CPAN (Perl distribution, author unattributed in advisory) Crypt::SelfCertificate
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-95831 | Embedded Malware in Perl CPAN Module Crypt::SelfCertificate 1.01–1.05 Versions 1.01 through 1.05 of the Perl CPAN distribution Crypt::SelfCertificate contain embedded malicious code (CWE-506) rather than a conventional software flaw. The module's generate_certificate function executes a Python script that ships disguised as a sample certificate file (lib/Crypt/SelfCertificate/sample/validate.p12 in 1.01, sample/cert7.pem in 1.05). That script decodes a base64-obfuscated, hardcoded HTTP URL, downloads whatever the server returns, and executes the response body directly, giving the attacker fileless arbitrary code execution with the privileges of the user who invoked the module. Anyone who installed these versions and called generate_certificate should assume attacker-controlled code may have run on their host. No CVSS score has been assigned, the issue is not on the CISA KEV list, and no public PoC or confirmed victim executions have been reported, though the malicious payload was distributed through the module's releases. |
Posted by Sam James on Sep 22 Robert Rothenberg writes: https://metacpan.org/dist/Crypt-SelfCertificate/requires https://metacpan.org/dist/Crypt-SelfCertificate/changes page doesn't work for me, presumably because it's all been yanked. Did this module have any legitimate releases? From a...
This source does not provide full text. Read it at seclists.org.