Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-1283

The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the /((?:F?+(?:^(?(R)a+\"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'\){97)?J)?J)(?'R'(?'R'\){99|(:(?|(?'R')(\k'R')|((?'R')))H'R'R)(H'R))))))/ pattern and related patterns with named subgroups, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-1283
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:15 UTC · Revision 1

Source evidence

CVE-2016-1283

core-osv · Original source

Published 3 Jan 2016, 00:59 UTC

The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the /((?:F?+(?:^(?(R)a+\"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'\){97)?J)?J)(?'R'(?'R'\){99|(:(?|(?'R')(\k'R')|((?'R')))H'R'R)(H'R))))))/ pattern and related patterns with named subgroups, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.

osv:CVE-2016-1283
Complete source record
{
  "id": "beedee51adfaf3c1a4df34a1a6e31cc58b2953712d29df31923bbf2e60f25d21",
  "url": "https://osv.dev/vulnerability/CVE-2016-1283",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-1283",
    "summary": "The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the /((?:F?+(?:^(?(R)a+\\\"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'\\){97)?J)?J)(?'R'(?'R'\\){99|(:(?|(?'R')(\\k'R')|((?'R')))H'R'R)(H'R))))))/ pattern and related patterns with named subgroups, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.",
    "evidence": "osv:CVE-2016-1283",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2016-1283",
      "aliases": [
        "CVE-2016-1283"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/php/php-src",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fc1df8e7a6886e29a6ed5bef3f674ac61164e847"
                },
                {
                  "fixed": "6f21492505dd554667f70884b46802f2fb81c210"
                },
                {
                  "introduced": "60fffd296abce5fc071f3c173c25a2696cf683c6"
                },
                {
                  "fixed": "8d8d4353d063c049901912be7d18535dc84a361b"
                },
                {
                  "introduced": "0221e9f827632942225586687a33cfd554860d5e"
                },
                {
                  "fixed": "058de87e99ad6318dec2461727bc83b14ff18f6e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.6.0"
                      },
                      {
                        "fixed": "5.6.32"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "fixed": "7.0.25"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.0"
                      },
                      {
                        "fixed": "7.1.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-1283.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:26.307481916Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHSA-2016:1132",
        "https://security.gentoo.org/glsa/201607-02",
        "https://www.tenable.com/security/tns-2016-18",
        "https://www.tenable.com/security/tns-2017-14",
        "https://bto.bluecoat.com/security-advisory/sa128",
        "https://bugs.exim.org/show_bug.cgi?id=1767"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "22"
                  },
                  {
                    "last_affected": "22"
                  },
                  {
                    "introduced": "23"
                  },
                  {
                    "last_affected": "23"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:solaris",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.3"
                  },
                  {
                    "last_affected": "11.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:pcre:pcre:8.38:*:*:*:*:*:*:*"
            ],
            "vendor_product": "pcre:pcre",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.38"
                  },
                  {
                    "last_affected": "8.38"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2016-1283",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431591,
  "published_at": "2016-01-03T00:59:03.287+00:00"
}