CVE-2017-12837

Publication date 19 September 2017

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

Description

Heap-based buffer overflow in the S_regatom function in regcomp.c in Perl 5 before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 allows remote attackers to cause a denial of service (out-of-bounds write) via a regular expression with a '\N{}' escape and the case-insensitive modifier.

Read the notes from the security team

Status

Package Ubuntu Release Status
perl 17.10 artful
Not affected
17.04 zesty
Fixed 5.24.1-2ubuntu1.1
16.04 LTS xenial
Fixed 5.22.1-9ubuntu0.2
14.04 LTS trusty
Fixed 5.18.2-2ubuntu1.3

Notes


leosilva

portion of affected code is quite different in precise, needs triage could not reproduce in precise.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
perl

Severity score breakdown

CVSS version: CVSS v3.0

Base score 7.5 · High

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H


Access our resources on patching vulnerabilities