cve-2016-3191
Vulnerability from cvelistv5
Published
2016-03-17 23:00
Modified
2024-08-05 23:47
Severity ?
Summary
The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-3542.
Impacted products
n/an/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-05T23:47:58.389Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "84810",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/84810"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://vcs.pcre.org/pcre2?view=revision\u0026revision=489"
          },
          {
            "name": "RHSA-2016:1132",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "https://access.redhat.com/errata/RHSA-2016:1132"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886"
          },
          {
            "name": "RHSA-2016:1025",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2016-1025.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugs.debian.org/815921"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugs.debian.org/815920"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1311503"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugs.exim.org/show_bug.cgi?id=1791"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://www.tenable.com/security/tns-2016-18"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bto.bluecoat.com/security-advisory/sa128"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://vcs.pcre.org/pcre?view=revision\u0026revision=1631"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2016-02-09T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-3542."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2018-01-04T19:57:01",
        "orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5",
        "shortName": "debian"
      },
      "references": [
        {
          "name": "84810",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/84810"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://vcs.pcre.org/pcre2?view=revision\u0026revision=489"
        },
        {
          "name": "RHSA-2016:1132",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "https://access.redhat.com/errata/RHSA-2016:1132"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886"
        },
        {
          "name": "RHSA-2016:1025",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2016-1025.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugs.debian.org/815921"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugs.debian.org/815920"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1311503"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugs.exim.org/show_bug.cgi?id=1791"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://www.tenable.com/security/tns-2016-18"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bto.bluecoat.com/security-advisory/sa128"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://vcs.pcre.org/pcre?view=revision\u0026revision=1631"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "security@debian.org",
          "ID": "CVE-2016-3191",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-3542."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "84810",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/84810"
            },
            {
              "name": "http://vcs.pcre.org/pcre2?view=revision\u0026revision=489",
              "refsource": "CONFIRM",
              "url": "http://vcs.pcre.org/pcre2?view=revision\u0026revision=489"
            },
            {
              "name": "RHSA-2016:1132",
              "refsource": "REDHAT",
              "url": "https://access.redhat.com/errata/RHSA-2016:1132"
            },
            {
              "name": "http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html",
              "refsource": "CONFIRM",
              "url": "http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html"
            },
            {
              "name": "http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886",
              "refsource": "CONFIRM",
              "url": "http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886"
            },
            {
              "name": "RHSA-2016:1025",
              "refsource": "REDHAT",
              "url": "http://rhn.redhat.com/errata/RHSA-2016-1025.html"
            },
            {
              "name": "https://bugs.debian.org/815921",
              "refsource": "CONFIRM",
              "url": "https://bugs.debian.org/815921"
            },
            {
              "name": "https://bugs.debian.org/815920",
              "refsource": "CONFIRM",
              "url": "https://bugs.debian.org/815920"
            },
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1311503",
              "refsource": "CONFIRM",
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1311503"
            },
            {
              "name": "https://bugs.exim.org/show_bug.cgi?id=1791",
              "refsource": "CONFIRM",
              "url": "https://bugs.exim.org/show_bug.cgi?id=1791"
            },
            {
              "name": "https://www.tenable.com/security/tns-2016-18",
              "refsource": "CONFIRM",
              "url": "https://www.tenable.com/security/tns-2016-18"
            },
            {
              "name": "https://bto.bluecoat.com/security-advisory/sa128",
              "refsource": "CONFIRM",
              "url": "https://bto.bluecoat.com/security-advisory/sa128"
            },
            {
              "name": "http://vcs.pcre.org/pcre?view=revision\u0026revision=1631",
              "refsource": "CONFIRM",
              "url": "http://vcs.pcre.org/pcre?view=revision\u0026revision=1631"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5",
    "assignerShortName": "debian",
    "cveId": "CVE-2016-3191",
    "datePublished": "2016-03-17T23:00:00",
    "dateReserved": "2016-03-15T00:00:00",
    "dateUpdated": "2024-08-05T23:47:58.389Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2016-3191\",\"sourceIdentifier\":\"security@debian.org\",\"published\":\"2016-03-17T23:59:01.447\",\"lastModified\":\"2018-01-05T02:30:41.430\",\"vulnStatus\":\"Modified\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-3542.\"},{\"lang\":\"es\",\"value\":\"La funci\u00f3n compile_branch en pcre_compile.c en PCRE 8.x en versiones anteriores a 8.39 y pcre2_compile.c en PCRE2 en versiones anteriores a 10.22 no maneja correctamente patrones que contienen una subcadena (*ACCEPT) en conjunci\u00f3n con par\u00e9ntesis anidados, lo que permite a atacantes remotos ejecutar c\u00f3digo arbitrario o provocar una denegaci\u00f3n de servicio (desbordamiento de buffer basado en pila) a trav\u00e9s de una expresi\u00f3n regular manipuada, seg\u00fan lo demostrado por un objeto JavaScript RegExp encontrado por Konqueror, tambi\u00e9n conocido como ZDI-CAN-3542.\"}],\"metrics\":{\"cvssMetricV30\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.0\",\"vectorString\":\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:P/I:P/A:P\",\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\",\"baseScore\":7.5},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":10.0,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-119\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.00:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"BE157F38-24DB-4B12-9964-F514A303C294\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.01:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D4F80172-754F-4FB1-9E84-F8EC1A6B0EEF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.02:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C109C2A1-BF9D-48CB-A027-82F3F3FA261B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.10:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B8A8DB81-0B55-4E50-A149-C1E82BDAD0C3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.11:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B2D96300-9CEF-4F64-A76F-11B1AB312579\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.12:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"61D64759-714E-47D8-B578-CCE4B59086EE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.13:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"ACC08805-B9FC-4D8B-B486-813E4398DBBD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.20:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"EFD12533-1D1E-4931-B687-CBC0A17DBF3F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.21:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6B2768BD-07FF-4C8C-8370-E84AE8D0707A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.30:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B5C9BE45-3F45-4F46-9C15-86AA2CD3F2E7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.31:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"FC0CD596-3719-425E-9327-8DEE38AB138B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.32:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"4CE5EE9A-0FA0-4851-8AF3-D884B88B2E52\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.33:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5A61CB8C-6504-4602-91A5-C1595C12F6AB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.34:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"F6876A94-2609-41CE-975E-F1ADAE1BD782\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.35:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"9DA3CC4F-1797-46D8-8C3D-0605E71C5EAE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.36:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"909CD13B-E836-4EBF-9433-55B4EFFE2DC4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.37:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"EF43E164-05C2-42A8-82CA-D1B643875C2B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre:8.38:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"9DD39B35-C14D-4044-A050-660FE4EE6AC2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pcre:pcre2:*:*:*:*:*:*:*:*\",\"versionEndIncluding\":\"10.21\",\"matchCriteriaId\":\"4B739148-6299-4DD1-BDE5-608BDF01A44F\"}]}]}],\"references\":[{\"url\":\"http://rhn.redhat.com/errata/RHSA-2016-1025.html\",\"source\":\"security@debian.org\"},{\"url\":\"http://vcs.pcre.org/pcre2?view=revision\u0026revision=489\",\"source\":\"security@debian.org\"},{\"url\":\"http://vcs.pcre.org/pcre?view=revision\u0026revision=1631\",\"source\":\"security@debian.org\"},{\"url\":\"http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886\",\"source\":\"security@debian.org\"},{\"url\":\"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html\",\"source\":\"security@debian.org\"},{\"url\":\"http://www.securityfocus.com/bid/84810\",\"source\":\"security@debian.org\"},{\"url\":\"https://access.redhat.com/errata/RHSA-2016:1132\",\"source\":\"security@debian.org\"},{\"url\":\"https://bto.bluecoat.com/security-advisory/sa128\",\"source\":\"security@debian.org\"},{\"url\":\"https://bugs.debian.org/815920\",\"source\":\"security@debian.org\"},{\"url\":\"https://bugs.debian.org/815921\",\"source\":\"security@debian.org\"},{\"url\":\"https://bugs.exim.org/show_bug.cgi?id=1791\",\"source\":\"security@debian.org\",\"tags\":[\"Exploit\"]},{\"url\":\"https://bugzilla.redhat.com/show_bug.cgi?id=1311503\",\"source\":\"security@debian.org\"},{\"url\":\"https://www.tenable.com/security/tns-2016-18\",\"source\":\"security@debian.org\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.