CVE-2017-9229

Summary

CVECVE-2017-9229
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-05-24 15:29:00 UTC
Updated2022-09-01 16:20:00 UTC
DescriptionAn 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 SIGSEGV occurs in left_adjust_char_head() during regular expression compilation. Invalid handling of reg->dmax in forward_search_range() could result in an invalid pointer dereference, normally as an immediate denial-of-service condition.

Risk And Classification

Problem Types: CWE-476

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Oniguruma Project Oniguruma 6.2.0 All All All
Application Oniguruma Project Oniguruma 6.2.0 All All All
Application Php Php All All All All
Application Php Php All All All All
Application Ruby-lang Ruby All All All All

References

ReferenceSourceLinkTags
fix #59 : access to invalid address by reg->dmax value · kkos/oniguruma@b690371 · GitHub CONFIRM github.com Patch, Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com
SIGSEGV in left_adjust_char_head() due to bad dereference · Issue #59 · kkos/oniguruma · GitHub CONFIRM github.com Exploit, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 356443 Amazon Linux Security Advisory for oniguruma : ALAS2-2023-2311
  • 356771 Amazon Linux Security Advisory for Hypertext Preprocessor (PHP) : ALAS2-2023-2375
  • 356983 Amazon Linux Security Advisory for oniguruma : AL2012-2023-467
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report