{"id":"CVE-2021-36770","aliases":["ALPINE-CVE-2021-36770","BELL-CVE-2021-36770","DEBIAN-CVE-2021-36770","EUVD-2021-23358","GHSA-3gfh-9hwx-r3vr","MGASA-2021-0527","OESA-2022-1549","UBUNTU-CVE-2021-36770"],"status":"published","title":"Encode.pm, as distributed in Perl through 5.34.0, allows local users to gain privileges via a...","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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01392,"percentile":0.72547,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-426","CWE-427"],"published":"2021-08-09T00:00:00Z","modified":"2026-10-23T18:03:30Z","fixes":[{"ecosystem":"Alpine:v3.15","package":"perl","fixed_in":["5.34.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"perl","fixed_in":["5.34.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"perl","fixed_in":["5.34.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"perl","fixed_in":["5.34.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"perl","fixed_in":["5.34.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"perl","fixed_in":["5.34.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"perl","fixed_in":["5.34.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"perl","fixed_in":["5.34.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"perl","fixed_in":["5.34.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"perl","fixed_in":["5.34.0-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"perl-encode","fixed_in":["3.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"perl-encode","fixed_in":["3.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"perl-encode","fixed_in":["3.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"perl-encode","fixed_in":["3.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"perl-encode","fixed_in":["3.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"perl-encode","fixed_in":["3.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"perl-encode","fixed_in":["3.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"perl-encode","fixed_in":["3.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"perl-encode","fixed_in":["3.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"perl-encode","fixed_in":["3.12-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libencode-perl","fixed_in":["3.08-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libencode-perl","fixed_in":["3.08-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libencode-perl","fixed_in":["3.08-2"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"perl","fixed_in":["5.32.1-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"perl","fixed_in":["5.32.1-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"perl","fixed_in":["5.32.1-5"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"perl","fixed_in":["5.32.1-1.1.mga8"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"perl-Encode","fixed_in":["3.80.0-1.1.mga8"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP1","package":"perl-Encode","fixed_in":["3.06-2.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP2","package":"perl-Encode","fixed_in":["3.06-2.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP3","package":"perl-Encode","fixed_in":["3.06-2.oe1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"perl","fixed_in":["5.32.1-3ubuntu3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.15","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.34.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.34.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.34.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.34.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.34.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.34.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.34.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.34.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.34.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.34.0-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"perl-encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"perl-encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"perl-encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"perl-encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"perl-encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"perl-encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"perl-encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"perl-encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"perl-encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"perl-encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libencode-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.08-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libencode-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.08-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libencode-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.08-2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.32.1-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.32.1-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.32.1-5"}]}]},{"source":"osv","ecosystem":"Mageia:8","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.32.1-1.1.mga8"}]}]},{"source":"osv","ecosystem":"Mageia:8","package":"perl-Encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.80.0-1.1.mga8"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"perl-Encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06-2.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP2","package":"perl-Encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06-2.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP3","package":"perl-Encode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.06-2.oe1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libencode-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.76-1","2.78-1","2.78-1build1","2.79-1","2.82-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libencode-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.08-2","3.16-1","3.16-1build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.32.1-3ubuntu3"}]}]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libencode-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.19-1build1","3.20-1","3.20-1build1","3.21-1","3.21-1build1","3.21-1build2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libencode-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.21-1build3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libencode-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.21-1build3","3.24-1","3.24-1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libencode-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.21-1build3"]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"p5-encode_project","product":"p5-encode"}],"references":[{"url":"https://metacpan.org/dist/Encode/changes","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-36770","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/dankogai/p5-encode/commit/527e482dc70b035d0df4f8c77a00d81f8d775c74","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/Perl/perl5/commit/c1a937fef07c061600a0078f4cb53fe9c2136bb9","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://news.cpanel.com/unscheduled-tsr-10-august-2021/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6KOZYD7BH2DNIAEZ2ZL4PJ4QUVQI6Y33/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5NDGQSGMEZ75FJGBKNYC75OTO7TF7XHB/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://security.netapp.com/advisory/ntap-20210909-0003/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20241108-0002/","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36770","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5NDGQSGMEZ75FJGBKNYC75OTO7TF7XHB"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6KOZYD7BH2DNIAEZ2ZL4PJ4QUVQI6Y33"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5NDGQSGMEZ75FJGBKNYC75OTO7TF7XHB"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6KOZYD7BH2DNIAEZ2ZL4PJ4QUVQI6Y33"},{"url":"https://news.cpanel.com/unscheduled-tsr-10-august-2021"},{"url":"https://security.netapp.com/advisory/ntap-20210909-0003"},{"url":"https://security.netapp.com/advisory/ntap-20241108-0002"},{"url":"https://github.com/advisories/GHSA-3gfh-9hwx-r3vr"},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-36770","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2021-36770","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0527.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29352","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/6KOZYD7BH2DNIAEZ2ZL4PJ4QUVQI6Y33/","tags":["web"]},{"url":"https://ubuntu.com/security/notices/USN-5033-1","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1549","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-36770","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-36770","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-36770","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.","status":"published","published":"2021-08-11T22:49:04Z","modified":"2025-11-03T21:45:03.119Z","updated_at":"2026-11-02T14:33:05.989686Z"}],"euvd":[{"id":"EUVD-2021-23358","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.","status":"published","published":"2021-08-11T22:49:04Z","modified":"2025-11-03T21:45:03Z","updated_at":"2026-11-02T19:49:31.7352Z"}],"ghsa":[{"id":"GHSA-3gfh-9hwx-r3vr","title":"Encode.pm, as distributed in Perl through 5.34.0, allows local users to gain privileges via a...","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.","status":"published","published":"2022-05-24T19:11:00Z","modified":"2025-11-04T00:31:32Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-426","CWE-427"],"updated_at":"2026-11-02T15:04:28.385807Z"}],"nvd":[{"id":"CVE-2021-36770","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.","status":"published","published":"2021-08-11T23:15:07.707Z","modified":"2026-06-17T03:59:08.28Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-427"],"updated_at":"2026-11-02T14:06:56.943671Z"}],"osv":[{"id":"ALPINE-CVE-2021-36770","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.","status":"published","published":"2021-08-11T23:15:07.707Z","modified":"2026-10-23T17:17:56.202470264Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:48.646074Z"},{"id":"BELL-CVE-2021-36770","title":"CVE-2021-36770 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:16:10.612321Z","modified":"2026-01-26T09:49:19.14342Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:16.5265Z"},{"id":"CVE-2021-36770","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.","status":"published","published":"2021-08-11T23:15:07.707Z","modified":"2026-10-20T10:54:48.87234284Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:20.434873Z"},{"id":"DEBIAN-CVE-2021-36770","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.","status":"published","published":"2021-08-11T23:15:07.707Z","modified":"2026-10-23T18:03:30.383942793Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:35.233346Z"},{"id":"OESA-2022-1549","title":"perl-Encode security update","description":"Character encodings in Perl.\r\n\r\nSecurity Fix(es):\r\n\r\nEncode.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.(CVE-2021-36770)","status":"published","published":"2022-03-07T11:04:49Z","modified":"2026-08-18T01:16:21.044853271Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:39.528805Z"},{"id":"UBUNTU-CVE-2021-36770","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.","status":"published","published":"2021-08-09T00:00:00Z","modified":"2026-10-17T12:57:13.600305105Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:27.870979Z"},{"id":"MGASA-2021-0527","title":"Updated perl/perl-Encode packages fix security vulnerability","description":"Encode.pm, as distributed in Perl through 5.34.0, allows local users to\ngain privileges via a Trojan horse Encode::ConfigLocal library (in the\ncurrent working directory) that preempts dynamic module loading.\nExploitation requires an unusual configuration, and certain 2021 versions\nof Encode.pm (3.05 through 3.11). This issue occurs because the || operator\nevaluates @INC in a scalar context, and thus @INC has only an integer value.\n","status":"published","published":"2021-12-02T16:49:28Z","modified":"2026-04-16T04:42:36.158448356Z","updated_at":"2026-11-02T15:49:41.849028Z"}]}}
