Live threats

All CVEs / P5-encode Project

CVE-2021-36770P5-encode Project P5-encode

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
Yes
Published
Aug 11, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-427
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

Encode.pm, as distributed in Perl through 5.34.0, allows local users to gain privileges via a Trojan horse Encode::ConfigLocal library (in the current working directory) that preempts dynamic module loading. Exploitation requires an unusual configuration, and certain 2021 versions of Encode.pm (3.05 through 3.11). This issue occurs because the || operator evaluates @INC in a scalar context, and thus @INC has only an integer value.

Original NVD text.

What to do

  1. Apply the vendor's security update for P5-encode.

Affected products (CPE)

VendorProductVersions
p5-encode_projectp5-encode≥ 3.05 < 3.12
fedoraprojectfedora34
fedoraprojectfedora33

Official sources

References

Links published by the sources. Open them with care.