Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-36770

published

perl-Encode: bug in local configuration loading allows arbitrary Perl code execution placed under the current working directory

Title from Red Hat VEX

Published
11 Aug 2021, 22:49:04 UTC
Updated
03 Nov 2025, 21:45:03 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Alpine Linux edge perl Fixed 5.34.0-r1 Package fix record
Alpine Linux edge perl-encode Fixed 3.12-r0 Package fix record
Alpine Linux v3.15 perl Fixed 5.34.0-r1 Package fix record
Alpine Linux v3.15 perl-encode Fixed 3.12-r0 Package fix record
Alpine Linux v3.16 perl Fixed 5.34.0-r1 Package fix record
Alpine Linux v3.16 perl-encode Fixed 3.12-r0 Package fix record
Alpine Linux v3.17 perl Fixed 5.34.0-r1 Package fix record
Show 15 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.17 perl-encode Fixed 3.12-r0 Package fix record
Alpine Linux v3.18 perl Fixed 5.34.0-r1 Package fix record
Alpine Linux v3.18 perl-encode Fixed 3.12-r0 Package fix record
Alpine Linux v3.19 perl Fixed 5.34.0-r1 Package fix record
Alpine Linux v3.19 perl-encode Fixed 3.12-r0 Package fix record
Alpine Linux v3.20 perl Fixed 5.34.0-r1 Package fix record
Alpine Linux v3.20 perl-encode Fixed 3.12-r0 Package fix record
Alpine Linux v3.21 perl Fixed 5.34.0-r1 Package fix record
Alpine Linux v3.21 perl-encode Fixed 3.12-r0 Package fix record
Alpine Linux v3.22 perl Fixed 5.34.0-r1 Package fix record
Alpine Linux v3.22 perl-encode Fixed 3.12-r0 Package fix record
Alpine Linux v3.23 perl Fixed 5.34.0-r1 Package fix record
Alpine Linux v3.23 perl-encode Fixed 3.12-r0 Package fix record
Alpine Linux v3.24 perl Fixed 5.34.0-r1 Package fix record
Alpine Linux v3.24 perl-encode Fixed 3.12-r0 Package fix record

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

22

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

9

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
5fe2b7633e548896ec3c472705a85dad1d51fa0f3a8ab1a5613bc7ec4fbddf52
Ingested
23 Sep 2026, 07:55:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected