CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (7.8). EPSS 0.9% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2020-16156 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-16156?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-16156?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-16156 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| perl:comprehensive_perl_archive_network | 2.28 |
| perl:comprehensive_perl_archive_network | 2.28:trial |
| fedoraproject:fedora | 34 |
| fedoraproject:fedora | 35 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | perl | 5.32.1-4+deb11u4 | DLA-3926-1 |
| Debian | 12, 13, 14 | perl | 5.36.0-4 | DEBIAN-CVE-2020-16156 |
| Ubuntu | 18.04:LTS | perl | 5.26.1-6ubuntu0.6 | UBUNTU-CVE-2020-16156 USN-5689-1 |
| Ubuntu | 20.04:LTS | perl | 5.30.0-9ubuntu0.3 | UBUNTU-CVE-2020-16156 USN-5689-1 |
| Ubuntu | 22.04:LTS | perl | 5.34.0-3ubuntu1.1 | UBUNTU-CVE-2020-16156 USN-5689-1 |
| Ubuntu | Pro:14.04:LTS | perl | 5.18.2-2ubuntu1.7+esm4 | UBUNTU-CVE-2020-16156 USN-5689-1 |
| Ubuntu | Pro:16.04:LTS | perl | 5.22.1-9ubuntu0.9+esm1 | UBUNTU-CVE-2020-16156 USN-5689-1 |
| Red Hat | enterprise_linux:8::appstream | perl-CPAN | 0:2.18-402.el8_10 | RHSA-2025:8432 |
| AlmaLinux | 8 | perl-CPAN | 2.18-402.el8_10 | ALSA-2025:8432 |
| Rocky Linux | 8 | perl-CPAN | 0:2.18-402.el8_10 | RLSA-2025:8432 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Moderate.
This vulnerability is assigned a Moderate Severity rating primarily because of the multistep nature of the attack and the efficacy of environmental security controls. The underlying issue is a serious software flaw, designated as CWE 347: Improper Verification of Cryptographic Signature, which means the system fails to correctly verify the digital authenticity of installation packages, potentially allowing an attacker to insert malicious software into the $\text{CPAN}$ repository. However, successfully exploiting this flaw requires a complex attack chain: the adversary must first gain control of a legitimate $\text{CPAN}$ distribution mirror and then actively deceive a targeted user into initiating an install from that compromised source, which necessitates User Interaction. Although the potential impact of a successful attack is high (leading to a complete compromise of the victim's data and system integrity), the severity is downgraded to Moderate in secure, regulated environments. This is because mandatory defenses such as enforcing secure $\text{HTTPS/TLS}$ connections, implementing Multi Factor Authentication ($\text{MFA}$), adhering to $\text{least privilege}$ access principles, and mandating the use of $\text{FIPS}$ validated cryptographic modules create robust, layered barriers that significantly increase the difficulty of both the required initial compromise and the necessary social engineering of a protected user, thus lowering the overall practical risk.
This issue can be mitigated by configuring perl-CPAN to only use trusted CPAN mirrors (www.cpan.org or cpan.metacpan.org) and use HTTPS for communication with CPAN servers. If you already have a cpan configured, the list of configured mirrors can be viewed by running the `cpan` command without any argument and entering the following command on the cpan command's prompt:
```
o conf urllist
```
Ensure that the URL list only includes trusted mirrors and that https:// scheme is used for all URLs. A different set of mirrors can be configured using the following commands (these examples show how to configure one or more mirrors, only one of the commands should be used):
```
o conf urllist https://www.cpan.org
o conf urllist https://www.cpan.org https://cpan.metacpan.org
```
After changing configuration, the following command must be used to save the configuration:
```
o conf commit
```
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | perl-CPAN-0:2.18-402.el8_10 | Fixed 2025-06-03 | RHSA-2025:8432 |
| Red Hat Enterprise Linux 6 | perl | Out of support scope | |
| Red Hat Enterprise Linux 7 | perl | Out of support scope | |
| Red Hat Enterprise Linux 8 | perl | Not affected | |
| Red Hat Enterprise Linux 8 | perl:5.30/perl-CPAN | Will not fix | |
| Red Hat Enterprise Linux 8 | perl:5.32/perl-CPAN | Will not fix | |
| Red Hat Enterprise Linux 9 | perl | Not affected | |
| Red Hat Enterprise Linux 9 | perl-CPAN | Not affected | |
| Red Hat Software Collections | rh-perl530-perl-CPAN | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-16156.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.