CVE-2021-36770

medium
Published — · Modified —
CVSS v3
CVSS v2
VIR risk
5.5

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-36770

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-36770.html

OS impact

OSVersionStatusFixed in
arch archaffected
suse slesaffected
debian debianbookwormfixed3.08-2
debian debianbullseyefixed3.08-1+deb11u1
debian debianforkyfixed3.08-2
debian debiansidfixed3.08-2
debian debiantrixiefixed3.08-2

References

Verify integrity in audit chain (admin only). AS-IS.