RHSA-2026:7545
Vulnerability from csaf_redhat - Published: 2026-04-10 21:56 - Updated: 2026-04-21 13:28An 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 stack out-of-bounds write in onigenc_unicode_get_case_fold_codes_by_str() occurs during regular expression compilation. Code point 0xFFFFFFFF is not properly handled in unicode_unfold_key(). A malformed regular expression could result in 4 bytes being written off the end of a stack buffer of expand_case_fold_string() during the call to onigenc_unicode_get_case_fold_codes_by_str(), a typical stack buffer overflow.
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 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.
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for Red Hat Hardened Images RPMs is now available.",
"title": "Topic"
},
{
"category": "general",
"text": "This update includes the following RPMs:\n\noniguruma:\n * oniguruma-6.9.10-4.1.hum1 (aarch64, x86_64)\n * oniguruma-devel-6.9.10-4.1.hum1 (aarch64, x86_64)\n * oniguruma-6.9.10-4.1.hum1.src (src)",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2026:7545",
"url": "https://access.redhat.com/errata/RHSA-2026:7545"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2017-9229",
"url": "https://access.redhat.com/security/cve/CVE-2017-9229"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2017-9225",
"url": "https://access.redhat.com/security/cve/CVE-2017-9225"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_7545.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
"tracking": {
"current_release_date": "2026-04-21T13:28:51+00:00",
"generator": {
"date": "2026-04-21T13:28:51+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.7.5"
}
},
"id": "RHSA-2026:7545",
"initial_release_date": "2026-04-10T21:56:16+00:00",
"revision_history": [
{
"date": "2026-04-10T21:56:16+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-04-21T02:53:12+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-04-21T13:28:51+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Hardened Images",
"product": {
"name": "Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:hummingbird:1"
}
}
}
],
"category": "product_family",
"name": "Red Hat Hardened Images"
},
{
"branches": [
{
"category": "product_version",
"name": "oniguruma-main@aarch64",
"product": {
"name": "oniguruma-main@aarch64",
"product_id": "oniguruma-main@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/oniguruma@6.9.10-4.1.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "oniguruma-main@src",
"product": {
"name": "oniguruma-main@src",
"product_id": "oniguruma-main@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/oniguruma@6.9.10-4.1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "oniguruma-main@x86_64",
"product": {
"name": "oniguruma-main@x86_64",
"product_id": "oniguruma-main@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/oniguruma@6.9.10-4.1.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "x86_64"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "oniguruma-main@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:oniguruma-main@aarch64"
},
"product_reference": "oniguruma-main@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "oniguruma-main@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:oniguruma-main@src"
},
"product_reference": "oniguruma-main@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "oniguruma-main@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:oniguruma-main@x86_64"
},
"product_reference": "oniguruma-main@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2017-9225",
"cwe": {
"id": "CWE-121",
"name": "Stack-based Buffer Overflow"
},
"discovery_date": "2017-05-24T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "1466733"
}
],
"notes": [
{
"category": "description",
"text": "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 stack out-of-bounds write in onigenc_unicode_get_case_fold_codes_by_str() occurs during regular expression compilation. Code point 0xFFFFFFFF is not properly handled in unicode_unfold_key(). A malformed regular expression could result in 4 bytes being written off the end of a stack buffer of expand_case_fold_string() during the call to onigenc_unicode_get_case_fold_codes_by_str(), a typical stack buffer overflow.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "oniguruma: Out-of-bounds stack write in onigenc_unicode_get_case_fold_codes_by_str() during regular expression compilation",
"title": "Vulnerability summary"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:oniguruma-main@aarch64",
"Red Hat Hardened Images:oniguruma-main@src",
"Red Hat Hardened Images:oniguruma-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2017-9225"
},
{
"category": "external",
"summary": "RHBZ#1466733",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1466733"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2017-9225",
"url": "https://www.cve.org/CVERecord?id=CVE-2017-9225"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2017-9225",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-9225"
}
],
"release_date": "2017-05-22T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-04-10T21:56:16+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:oniguruma-main@aarch64",
"Red Hat Hardened Images:oniguruma-main@src",
"Red Hat Hardened Images:oniguruma-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:7545"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 5.9,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.0"
},
"products": [
"Red Hat Hardened Images:oniguruma-main@aarch64",
"Red Hat Hardened Images:oniguruma-main@src",
"Red Hat Hardened Images:oniguruma-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "oniguruma: Out-of-bounds stack write in onigenc_unicode_get_case_fold_codes_by_str() during regular expression compilation"
},
{
"cve": "CVE-2017-9229",
"cwe": {
"id": "CWE-787",
"name": "Out-of-bounds Write"
},
"discovery_date": "2017-05-24T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "1466746"
}
],
"notes": [
{
"category": "description",
"text": "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 SIGSEGV occurs in left_adjust_char_head() during regular expression compilation. Invalid handling of reg-\u003edmax in forward_search_range() could result in an invalid pointer dereference, normally as an immediate denial-of-service condition.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "oniguruma: Invalid pointer dereference in left_adjust_char_head()",
"title": "Vulnerability summary"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:oniguruma-main@aarch64",
"Red Hat Hardened Images:oniguruma-main@src",
"Red Hat Hardened Images:oniguruma-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2017-9229"
},
{
"category": "external",
"summary": "RHBZ#1466746",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1466746"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2017-9229",
"url": "https://www.cve.org/CVERecord?id=CVE-2017-9229"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2017-9229",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-9229"
}
],
"release_date": "2017-05-23T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-04-10T21:56:16+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:oniguruma-main@aarch64",
"Red Hat Hardened Images:oniguruma-main@src",
"Red Hat Hardened Images:oniguruma-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:7545"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H",
"version": "3.0"
},
"products": [
"Red Hat Hardened Images:oniguruma-main@aarch64",
"Red Hat Hardened Images:oniguruma-main@src",
"Red Hat Hardened Images:oniguruma-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "oniguruma: Invalid pointer dereference in left_adjust_char_head()"
}
]
}
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.