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.
Metrics
Affected Vendors & Products
References
History
Mon, 03 Nov 2025 22:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Status: PUBLISHED
Assigner: mitre
Published: 2021-08-11T22:49:04.000Z
Updated: 2025-11-03T21:45:03.119Z
Reserved: 2021-07-17T00:00:00.000Z
Link: CVE-2021-36770
No data.
Status : Modified
Published: 2021-08-11T23:15:07.707
Modified: 2025-11-03T22:15:49.640
Link: CVE-2021-36770