Skip to content
Noroxi
CVE-2017-12883· NVD / CVE Program· CNA mitre

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 attacker

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.

CriticalCVSS 9.1 · v3.0—No exploit Fix available
Published
Sep 19, 2017
Updated
Jun 16, 2026
EPSS
5.9% · 93th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

38

Monitor

Low priority for now.

CVSS
36 / 40 · 9.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 5.9%

Affected systems

VendorProduct
perlperl

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • perl perlup to 5.24.2 inclusive
  • perl perl5.26.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10perlbefore 5.26.1-r05.26.1-r0
Alpine:v3.3perlbefore 5.22.3-r05.22.3-r0
Alpine:v3.5perlbefore 5.24.3-r05.24.3-r0
Debian:12perlbefore 5.26.0-85.26.0-8
Debian:8perlbefore 5.20.2-3+deb8u95.20.2-3+deb8u9
Debian:9perlbefore 5.24.1-3+deb9u25.24.1-3+deb9u2
openSUSE:Tumbleweedperlbefore 5.34.0-1.15.34.0-1.1
Red Hat:hummingbird:1perlbefore 0:5.42.2-524.hum10:5.42.2-524.hum1
Red Hat:hummingbird:1perl-Attribute-Handlersbefore 0:1.03-524.hum10:1.03-524.hum1
SUSE:Linux Enterprise Desktop 12 SP2perlbefore 5.18.2-12.3.15.18.2-12.3.1

Same product

perl: all records

Other highest-scoring records for the same primary product.

  • CVE-2012-6329The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes and f
    49Plan
  • CVE-2018-18311Perl 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.
    43Plan
  • CVE-2018-18312Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.
    43Plan
  • CVE-2018-6913Heap-based buffer overflow in the pack function in Perl before 5.26.2 allows context-dependent attackers to execute arbitrary code via a lar
    42Plan
  • CVE-2018-18314Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations.
    41Plan
  • CVE-2018-6797An issue was discovered in Perl 5.18 through 5.26.
    41Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:perl5.26.1-r0 · Alpine:v3.10Package registry (OSV)
debian:perl5.26.0-8 · Debian:12Package registry (OSV)
opensuse:perl5.34.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:perl0:5.42.2-524.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:perl-Attribute-Handlers0:1.03-524.hum1 · Red Hat:hummingbird:1Package registry (OSV)
suse:perl5.18.2-12.3.1 · SUSE:Linux Enterprise Desktop 12 SP2Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
High

CVSS vector

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

nvd-primary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records