Skip to content
Fencer Intel
critical 9.1

CVE-2017-12883 json

Buffer overflow in the S_grok_bslash_N function in regcomp.c in Perl 5 before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 allows remote attacke…

published 2017-09-19 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-4407

cvss
9.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.9%
EPSS 5.9% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

Summary

Buffer overflow in the S_grok_bslash_N 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 disclose sensitive information or cause a denial of service (application crash) via a crafted regular expression with an invalid '\N{U+...}' escape.

Patch / fix

  • perl Debian 14, Debian 13, Debian 12 5.26.0-8

debian advisories DEBIAN-CVE-2017-12883

  • perl Ubuntu 14.04 LTS 5.18.2-2ubuntu1.3
  • perl Ubuntu 16.04 LTS 5.22.1-9ubuntu0.2

ubuntu advisories UBUNTU-CVE-2017-12883

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • perl hummingbird 1 5.42.2-524.hum1
  • perl-B hummingbird 1 1.89-524.hum1
  • perl-if hummingbird 1 0.61.000-524.hum1
  • perl-IO hummingbird 1 1.55-524.hum1
  • perl-ph hummingbird 1 5.42.2-524.hum1
  • perl-lib hummingbird 1 0.65-524.hum1
  • perl-mro hummingbird 1 1.29-524.hum1
  • perl-Net hummingbird 1 1.04-524.hum1

red hat advisories RHSA-2026:6206

  • perl SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +4 more 5.18.2-12.3.1

suse advisories SUSE-SU-2017:3092-1

  • perl openSUSE Tumbleweed 5.34.0-1.1

opensuse advisories openSUSE-SU-2024:11158-1

  • perl Alpine 3.24, Alpine 3.23, Alpine 3.22 +15 more 5.26.1-r0
  • perl Alpine 3.4, Alpine 3.3 5.22.3-r0
  • perl Alpine 3.6, Alpine 3.5 5.24.3-r0

alpine advisories ALPINE-CVE-2017-12883

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • perl Arch Linux 5.26.1-1

arch linux advisories AVG-500

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-12883 updated cvss 6.5

perl: Buffer over-read in regular expression parser

  • Red Hat Software Collections rh-perl524-perl, rh-perl524-perl-IO, rh-perl524-perl-core, rh-perl524-perl-libs, rh-perl524-perl-open, rh-perl524-perl-Test, +22 more
    affected: no fix planned “Will not fix”
  • Red Hat Hardened Images perl 5.42.2-524.hum1, perl-B 1.89-524.hum1, perl-IO 1.55-524.hum1, perl-Tie 4.6-524.hum1, perl-lib 0.65-524.hum1, perl-mro 1.29-524.hum1, +93 more
    fixed: vendor fix RHSA-2026:6206
  • Red Hat Enterprise Linux 5 perl Red Hat Enterprise Linux 6 perl, perl-CGI, perl-core, perl-CPAN, perl-libs, perl-parent, +39 more Red Hat Enterprise Linux 7 perl, perl-core, perl-CPAN, perl-libs, perl-tests, perl-macros, +11 more Red Hat Software Collections rh-perl520-perl, rh-perl520-perl-core, rh-perl520-perl-libs, rh-perl520-perl-tests, rh-perl520-perl-macros, rh-perl520-perl-IO-Zlib, +6 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

5.91% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 9.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD 2.0 6.4 AV:N/AC:L/Au:N/C:P/I:N/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.