CVE catalog

CVE-2017-6004

pcre3: CVE-2017-6004

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
4.55% · Oct 25, 2026

The compile_bracket_matchingpath function in pcre_jit_compile.c in PCRE through 8.x before revision 1680 (e.g., the PHP 7.1.1 bundled version) allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted regular expression.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpcre3bookworm2:8.39-15fixed
Ubuntupcre3pro2:8.35-7.1ubuntu1vulnerable
Ubuntupcre3pro2:8.38-1ubuntu1vulnerable
Ubuntupcre3pro2:8.38-3vulnerable
Ubuntupcre3pro2:8.38-3.1vulnerable
Ubuntupcre3pro2:8.38-3.1ubuntu0.1~esm1vulnerable
Ubuntupcre3pro2:8.38-3.1ubuntu0.1~esm2fixed
Ubuntupcre3pro2:8.35-7.1ubuntu1vulnerable
Ubuntupcre3pro2:8.38-1ubuntu1vulnerable
Ubuntupcre3pro2:8.38-3vulnerable
Ubuntupcre3pro2:8.38-3.1vulnerable
Ubuntupcre3pro2:8.38-3.1ubuntu0.1~esm1vulnerable
Ubuntupcre3pro2:8.38-3.1ubuntu0.1~esm2fixed
Susepcrehpe helion openstack 88.45-8.7.1fixed
Suseselinux-policyhpe helion openstack 820140730-36.5.2fixed
Susepcreopenstack cloud 88.45-8.7.1fixed
Suseselinux-policyopenstack cloud 820140730-36.5.2fixed
Susepcreopenstack cloud 98.45-8.7.1fixed
Suseselinux-policyopenstack cloud 920140730-36.5.2fixed
Susepcreopenstack cloud crowbar 88.45-8.7.1fixed
Suseselinux-policyopenstack cloud crowbar 820140730-36.5.2fixed
Susepcreopenstack cloud crowbar 98.45-8.7.1fixed
Suseselinux-policyopenstack cloud crowbar 920140730-36.5.2fixed
Susepcrelinux enterprise high availability extension 12 sp38.45-8.7.1fixed
Susepcrelinux enterprise high availability extension 12 sp48.45-8.7.1fixed
Susepcrelinux enterprise high availability extension 12 sp58.45-8.7.1fixed
Susepcrelinux enterprise server for sap applications 12 sp38.45-8.7.1fixed
Suseselinux-policylinux enterprise server for sap applications 12 sp320140730-36.5.2fixed
Susepcrelinux enterprise server for sap applications 12 sp48.45-8.7.1fixed
Suseselinux-policylinux enterprise server for sap applications 12 sp420140730-36.5.2fixed
Susepcrelinux enterprise software development kit 12 sp58.45-8.7.1fixed
Suseselinux-policylinux enterprise software development kit 12 sp520140730-36.5.2fixed
Susepcrelinux enterprise server 12 sp2-bcl8.45-8.7.1fixed
Suseselinux-policylinux enterprise server 12 sp2-bcl20140730-36.5.2fixed
Susepcrelinux enterprise server 12 sp3-ltss8.45-8.7.1fixed
Suseselinux-policylinux enterprise server 12 sp3-ltss20140730-36.5.2fixed
Susepcrelinux enterprise server 12 sp3-bcl8.45-8.7.1fixed
Suseselinux-policylinux enterprise server 12 sp3-bcl20140730-36.5.2fixed
Susepcrelinux enterprise server 12 sp4-ltss8.45-8.7.1fixed
Suseselinux-policylinux enterprise server 12 sp4-ltss20140730-36.5.2fixed
Susepcrelinux enterprise server 12 sp58.45-8.7.1fixed
Suseselinux-policylinux enterprise server 12 sp520140730-36.5.2fixed
Susepcrelinux enterprise server for sap applications 12 sp58.45-8.7.1fixed
Suseselinux-policylinux enterprise server for sap applications 12 sp520140730-36.5.2fixed
Susepcrelinux enterprise workstation extension 12 sp58.45-8.7.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpcre3sourcebookworm2:8.39-2.1not yet assignedNot reported[855405]
Ubuntupcre3debpro2:8.38-3.1ubuntu0.1~esm2Not reportedUSN-5665-1Not reported
Ubuntupcre3debpro2:8.38-3.1ubuntu0.1~esm2Not reportedUBUNTU-CVE-2017-6004Not reported
Susepcrerpmhpe helion openstack 88.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmhpe helion openstack 820140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmopenstack cloud 88.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmopenstack cloud 820140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmopenstack cloud 98.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmopenstack cloud 920140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmopenstack cloud crowbar 88.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmopenstack cloud crowbar 820140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmopenstack cloud crowbar 98.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmopenstack cloud crowbar 920140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmlinux enterprise high availability extension 12 sp38.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmlinux enterprise high availability extension 12 sp48.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmlinux enterprise high availability extension 12 sp58.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmlinux enterprise server for sap applications 12 sp38.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmlinux enterprise server for sap applications 12 sp320140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmlinux enterprise server for sap applications 12 sp48.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmlinux enterprise server for sap applications 12 sp420140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmlinux enterprise software development kit 12 sp58.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmlinux enterprise software development kit 12 sp520140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmlinux enterprise server 12 sp2-bcl8.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmlinux enterprise server 12 sp2-bcl20140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmlinux enterprise server 12 sp3-ltss8.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmlinux enterprise server 12 sp3-ltss20140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmlinux enterprise server 12 sp3-bcl8.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmlinux enterprise server 12 sp3-bcl20140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmlinux enterprise server 12 sp4-ltss8.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmlinux enterprise server 12 sp4-ltss20140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmlinux enterprise server 12 sp58.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmlinux enterprise server 12 sp520140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmlinux enterprise server for sap applications 12 sp58.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported
Suseselinux-policyrpmlinux enterprise server for sap applications 12 sp520140730-36.5.2Not reportedSUSE-SU-2021:3652-1Not reported
Susepcrerpmlinux enterprise workstation extension 12 sp58.45-8.7.1Not reportedSUSE-SU-2021:3652-1Not reported

[Debian bug #855405]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [pcre3]

    Details (2)
    • 2:8.39-15 · amd64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

    • 2:8.39-15 · arm64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

  • [libpcre3]Fixed

    Source package: [pcre3]

    Details (2)
    • 2:8.39-15 · amd64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

    • 2:8.39-15 · arm64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

  • Source package: [pcre3]

    Details (2)
    • 2:8.39-15 · amd64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

    • 2:8.39-15 · arm64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

  • Source package: [pcre3]

    Details (2)
    • 2:8.39-15 · amd64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

    • 2:8.39-15 · arm64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

  • Source package: [pcre3]

    Details (2)
    • 2:8.39-15 · amd64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

    • 2:8.39-15 · arm64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

  • Source package: [pcre3]

    Details (2)
    • 2:8.39-15 · amd64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

    • 2:8.39-15 · arm64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

  • [pcregrep]Fixed

    Source package: [pcre3]

    Details (2)
    • 2:8.39-15 · amd64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

    • 2:8.39-15 · arm64 · bookworm

      Fixed · Fixed: 2:8.39-2.1

      dsa · pcre3 · debian · bookworm; dsa · pcre3 · debian · 12

Observed:

References