cvedb.io
CVE-2021-36770
HIGH · CVSS 7.8
EPSS exploitation probability: 0%
Published 2021-08-11T23:15:07.707 · Last modified 2026-06-17T03:59:08.280

Summary

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.

Affected products

p5-encode_project — p5-encode

Does this affect you?

Add your gear to cvedb and we'll alert you only when p5-encode_project ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.