| Name | CVE-2017-12837 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-3982-1 |
| Debian Bugs | 875596 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| perl (PTS) | bullseye | 5.32.1-4+deb11u3 | fixed |
| bullseye (security) | 5.32.1-4+deb11u4 | fixed | |
| bookworm | 5.36.0-7+deb12u3 | fixed | |
| bookworm (security) | 5.36.0-7+deb12u2 | fixed | |
| forky, sid, trixie | 5.40.1-6 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| perl | source | wheezy | (not affected) | |||
| perl | source | jessie | 5.20.2-3+deb8u9 | DSA-3982-1 | ||
| perl | source | stretch | 5.24.1-3+deb9u2 | DSA-3982-1 | ||
| perl | source | (unstable) | 5.26.0-8 | 875596 |
[wheezy] - perl <not-affected> (Vulnerable code introduced after 5.14.4)
https://rt.perl.org/Public/Bug/Display.html?id=131582 (not yet public)
https://perl5.git.perl.org/perl.git/commitdiff/96c83ed78aeea1a0496dd2b2d935869a822dc8a5
maint-5.26: https://perl5.git.perl.org/perl.git/commitdiff/66288bb3f44c8aa5122e5f40d8cfc0eada8b1695
maint-5.24: https://perl5.git.perl.org/perl.git/commitdiff/f7e5417e7bffba03947b66e4d8622d7c220f2876