Advisory

DEBIAN-CVE-2017-9226

Also known as: CVE-2017-9226

Summary

The record has no summary.

Details

An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A heap out-of-bounds write or read occurs in next_state_val() during regular expression compilation. Octal numbers larger than 0xff are not handled correctly in fetch_token() and fetch_token_in_cc(). A malformed regular expression containing an octal number in the form of '\700' would produce an invalid code point value larger than 0xff in next_state_val(), resulting in an out-of-bounds write memory corruption.

Severity

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

Dates

Published
2017-05-24 15:29 UTC
Modified
2026-09-01 20:03 UTC

Affected packages and fixes

libonig

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 6.1.3-2 (ecosystem)

Fixed versions

6.1.3-2

Fix

  • Fixed version 6.1.3-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.

libonig

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 6.1.3-2 (ecosystem)

Fixed versions

6.1.3-2

Fix

  • Fixed version 6.1.3-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.

libonig

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 6.1.3-2 (ecosystem)

Fixed versions

6.1.3-2

Fix

  • Fixed version 6.1.3-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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences