CVE-2016-9954: High severity Irregex Project Irregex vulnerability

Published Jan 17, 2017
·
Updated

A vulnerability was found in irregex which is bundled as a part of chicken. Parsing a maliciously crafted regular expression could cause resource exhaustion resulting in a Denial of Service.

References:

http://seclists.org/oss-sec/2016/q4/681

Upstream patch:

https://github.com/ashinn/irregex/commit/a16ffc86eca15fca9e40607d41de3cea9cf868f1

Other sources

The backtrack compilation code in the Irregex package (aka IrRegular Expressions) before 0.9.6 for Scheme allows remote attackers to cause a denial of service (memory consumption) via a crafted regular expression with a repeating pattern.

— MITRE

Affected Software

2 affected components
Irregex Project Irregex<=0.9.5
ubuntu/chicken*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.9.6

Event History

Jan 17, 2017
Data Sourced
01:58 PM
DescriptionSeverityAffected Software
Apr 21, 2017
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
08:59 PM
RemedyWeakness
Data Sourced
via OSV·08:59 PM
DescriptionSeverityAffected Software
Sep 29, 2019
Data Sourced
via Red Hat·02:04 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What must an attacker be able to do to trigger the issue?

They need to cause the affected application to parse a crafted regular expression containing a repeating pattern. The reported attack is remote and does not require privileges or user interaction.

2

Which versions are affected?

Irregex versions before 0.9.6 are affected. Irregex is also bundled with Chicken, so deployments using Chicken should determine which Irregex version their package includes.

3

What can be done if an upgrade cannot be applied immediately?

Avoid accepting or compiling untrusted regular expressions, especially expressions with repeating patterns, until the upstream fix can be applied. The referenced upstream patch is commit a16ffc86eca15fca9e40607d41de3cea9cf868f1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203