{"id":"CVE-2018-18311","details":"Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.","modified":"2026-04-11T14:54:32.431746Z","published":"2018-12-07T21:29:00.407Z","related":["SUSE-SU-2018:4187-1","SUSE-SU-2019:2264-1","openSUSE-SU-2024:11158-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWQGEB543QN7SSBRKYJM6PSOC3RLYGSM/"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2020.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2020.html"},{"type":"ADVISORY","url":"https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2019/Mar/49"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0010"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:1790"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:2400"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT209600"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4347"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/106145"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHBA-2019:0327"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0001"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0109"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:1942"},{"type":"ADVISORY","url":"https://metacpan.org/changes/release/SHAY/perl-5.28.1"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/11/msg00039.html"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2019/Mar/42"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201909-01"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3834-1/"},{"type":"ADVISORY","url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10278"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1042181"},{"type":"ADVISORY","url":"https://metacpan.org/changes/release/SHAY/perl-5.26.3"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20190221-0003/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3834-2/"},{"type":"REPORT","url":"https://rt.perl.org/Ticket/Display.html?id=133204"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1646730"},{"type":"FIX","url":"https://github.com/Perl/perl5/commit/34716e2a6ee2af96078d62b065b7785c001194be"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/Perl/perl5","events":[{"introduced":"0"},{"fixed":"92583df5dc9b9edbcd4a9649f753e180b9729590"},{"introduced":"6cb72a3d7fbefb477b95588e2fd81e33073da8b3"},{"fixed":"63afdf6c0f65af480aa5bb9ccba9f46dae52f6fc"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"5.26.3"},{"introduced":"5.28.0"},{"fixed":"5.28.1"}]}},{"type":"GIT","repo":"https://github.com/perl/perl5","events":[{"introduced":"0"},{"fixed":"34716e2a6ee2af96078d62b065b7785c001194be"}]}],"versions":["GitLive-blead","if-0.0603","if-0.0604","if-0.0605","perl-1.0","perl-2.0","perl-3.000","perl-3.044","perl-4.0.00","perl-4.0.36","perl-5.000","perl-5.000o","perl-5.001","perl-5.001n","perl-5.002","perl-5.002_01","perl-5.003","perl-5.005","perl-5.6.0","perl-5.7.0","perl-5.7.1","perl-5.7.2","perl-5.7.3","perl-5.8.0","perl-5.9.0","perl-5.9.1","perl-5.9.2","perl-5.9.3","perl-5.9.4","perl-5.9.5","perl-5a2","perl-5a9","v5.10.0","v5.11.0","v5.11.1","v5.11.3","v5.11.4","v5.11.5","v5.12.0","v5.12.0-RC0","v5.12.0-RC1","v5.12.0-RC2","v5.12.0-RC3","v5.12.0-RC4","v5.12.0-RC5","v5.13.0","v5.13.1","v5.13.10","v5.13.11","v5.13.2","v5.13.3","v5.13.4","v5.13.5","v5.13.6","v5.13.7","v5.13.8","v5.13.9","v5.14.0","v5.14.0-RC1","v5.14.0-RC2","v5.14.0-RC3","v5.15.0","v5.15.1","v5.15.2","v5.15.3","v5.15.4","v5.15.5","v5.15.9","v5.16.0","v5.16.0-RC1","v5.16.0-RC2","v5.17.0","v5.17.2","v5.17.4","v5.17.6","v5.17.7","v5.17.7.0","v5.17.8","v5.17.9","v5.18.0","v5.18.0-RC1","v5.18.0-RC2","v5.18.0-RC3","v5.18.0-RC4","v5.19.0","v5.19.1","v5.19.11","v5.19.2","v5.19.3","v5.19.5","v5.19.7","v5.20.0","v5.20.0-RC1","v5.21.0","v5.21.1","v5.21.10","v5.21.11","v5.21.4","v5.21.5","v5.21.6","v5.21.8","v5.21.9","v5.22.0","v5.22.0-RC1","v5.22.0-RC2","v5.23.0","v5.23.1","v5.23.2","v5.23.3","v5.23.4","v5.23.6","v5.23.7","v5.24.0","v5.24.0-RC1","v5.24.0-RC2","v5.24.0-RC3","v5.24.0-RC4","v5.24.0-RC5","v5.25.0","v5.25.11","v5.25.2","v5.25.3","v5.25.4","v5.25.5","v5.25.7","v5.25.9","v5.26.0","v5.26.0-RC2","v5.26.1","v5.26.1-RC1","v5.26.2","v5.26.2-RC1","v5.26.3-RC1","v5.27.0","v5.27.10","v5.27.11","v5.27.3","v5.27.5","v5.27.6","v5.27.7","v5.27.8","v5.28.0","v5.28.0-RC1","v5.28.0-RC2","v5.28.0-RC3","v5.28.0-RC4","v5.28.1-RC1","v5.29.0"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"12.04"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.10"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"3.11"}]},{"events":[{"introduced":"0"},{"last_affected":"6.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.4"}]},{"events":[{"introduced":"0"},{"last_affected":"7.5"}]},{"events":[{"introduced":"0"},{"last_affected":"7.6"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.6"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.6"}]},{"events":[{"introduced":"0"},{"last_affected":"7.6"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"fixed":"10.14.4"}]},{"events":[{"introduced":"0"},{"last_affected":"29"}]},{"events":[{"introduced":"7.7.2"},{"fixed":"7.7.2.21"}]},{"events":[{"introduced":"7.8.2"},{"fixed":"7.8.2.8"}]},{"events":[{"introduced":"8.0.0"},{"fixed":"8.1.1"}]}],"vanir_signatures_modified":"2026-04-11T14:54:32Z","vanir_signatures":[{"signature_version":"v1","target":{"file":"util.c"},"digest":{"line_hashes":["278762646846467458220749028302630386693","312468557747119978232149888737317887481","161493643322277275457001869997113710198","63943654176538038665800518437507596469","119127681495240114184810842066462406217","296353623599777734216004584012547961258","329292465809237107923465957351581805798","231685815720260020200934945771896543007","178043359333267592176162773375020071429","237183783672896658833163336710383737165","250152108054186789770812128784948443612","213165741231015538985571116828393668584","319370801703202954217563985177783524508","329738588468454201620027238060833819704","314383455144799346142780865009893270760","123801379219583801958491077506912609356","98822304097782848954915188387318587459","71966028249863066924730486223646774984","235924869402854404509950940347127961505","56904741803182023061646506821590483013","34603087930133241378363355428359713696","135544590023977588920973923720912825129","257334656051931252101327244517455703467","205189281332546020698937958583717221794","284566781044160816925880904132687163231","49293671174851459557462202680499054488","282936611618179306955704672491742136335","35188081188623385928179560303844355424","323178167614223974339618985719825179357","227770051973309539615764254246913432760","264590287610024220661636043986184376159","30799101164680659213973560467289847539","273621009362251584277563984863829014714","23732282762801728803277791934274787462","274140217903139139305970336732798880537","113595096881323809552703933403717361115","147607090647580381413665750363608955621","89904576321677848069547443359327286432","211610302220716257581478870691569150871","322799440874947332372700787068003765999","120487017185935785522424645892048162280","1210109423129691442168615330544529791","330360107058339846493926721672137367812","334004709386001461208330486823354622959","250261000308745423778701670392269024960","175842549026026986810812406029634743851","73849908381430057173215485562541545956","251483224424742296371896010847414292954","170300462639422336973054749143305320663","215550845120736407961630486036457954122","274119170000771695150254389561532174435","165250254494429546184372444911738558090","22265498109644917814821019236596096416","230853035943194497847225723510867911094","160096760090148610203933711539747990196","24305426286278845320748928919437622618","10360737222052097615580851996968375620","49141794748794404104407450701925671967","170300462639422336973054749143305320663","215550845120736407961630486036457954122","274119170000771695150254389561532174435","49165777930563725616616829732964403532","178460126831274040021028138488238520464","278994080232964427766074689965611310706","201826042647771855853579827731172743400"],"threshold":0.9},"id":"CVE-2018-18311-03a5f7af","deprecated":false,"source":"https://github.com/perl/perl5/commit/34716e2a6ee2af96078d62b065b7785c001194be","signature_type":"Line"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18311.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}