Advisory

UBUNTU-CVE-2016-3191

Also known as: CVE-2016-3191

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2016-03-17 00:00 UTC
Modified
2026-04-22 10:40 UTC

Affected packages and fixes

pcre3

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 1:8.31-2ubuntu2.2 (ecosystem)

Fixed versions

1:8.31-2ubuntu2.2

Fix

  • Fixed version 1:8.31-2ubuntu2.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences