<oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:red-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd">
<generator>
<oval:product_name>Oracle Errata System</oval:product_name>
<oval:product_version>Oracle Linux</oval:product_version>
<oval:schema_version>5.11</oval:schema_version>
<oval:timestamp>2026-07-17T19:23:47</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:202620606" version="501" class="patch">
<metadata>
<title>
ELSA-2026-20606:  ruby4.0 security update (IMPORTANT)
</title>
<affected family="unix">
<platform>Oracle Linux 10</platform>

</affected>
<reference source="elsa" ref_id="ELSA-2026-20606" ref_url="https://linux.oracle.com/errata/ELSA-2026-20606.html"/>
<reference source="CVE" ref_id="CVE-2026-33210" ref_url="https://linux.oracle.com/cve/CVE-2026-33210.html"/>
<reference source="CVE" ref_id="CVE-2026-41316" ref_url="https://linux.oracle.com/cve/CVE-2026-41316.html"/>

<description>
[4.0.3-35]
- Fix Net::IMAP ResponseReader quadratic complexity vulnerability (CVE-2026-42245)
  Includes core fix plus additional performance optimizations
  Resolves: RHEL-181675
- Fix Net::IMAP STARTTLS stripping vulnerability (CVE-2026-42246)
  Resolves: RHEL-181767
- Fix Net::IMAP command injection vulnerability via unvalidated Symbol arguments (CVE-2026-42258)
  Resolves: RHEL-181793

[4.0.3-34]
- Upgrade to Ruby 4.0.3.
  Resolves: RHEL-171239
- Fix ERB: Arbitrary code execution via bypass
 (CVE-2026-41316)
  Resolves: RHEL-170910
- Fix JSON: Denial of Service or Information Disclosure via format string injection
 (CVE-2026-33210)
 Resolves: RHEL-173457
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>IMPORTANT</severity>
<rights>Copyright 2026 Oracle, Inc.</rights>
<issued date="2026-07-17"/>
<cve cvss3="9.1/CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H" href="https://linux.oracle.com/cve/CVE-2026-33210.html" public="20260320">CVE-2026-33210</cve>
<cve cvss3="8.1/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" href="https://linux.oracle.com/cve/CVE-2026-41316.html" public="20260424">CVE-2026-41316</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:10::appstream</cpe>
<cpe>cpe:/a:oracle:linux:10::codeready_builder</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202620606001" comment="Oracle Linux 10 is installed"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202620606002" comment="Oracle Linux arch is aarch64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202620606003" comment="ruby4.0 is earlier than 0:4.0.3-35.el10_2"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202620606004" comment="ruby4.0 is signed with the Oracle Linux 10 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202620606005" comment="ruby4.0-devel is earlier than 0:4.0.3-35.el10_2"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202620606006" comment="ruby4.0-devel is signed with the Oracle Linux 10 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202620606007" comment="ruby4.0-doc is earlier than 0:4.0.3-35.el10_2"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202620606008" comment="ruby4.0-doc is signed with the Oracle Linux 10 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202620606009" comment="ruby4.0-rubygem-mysql2 is earlier than 0:0.5.7-35.el10_2"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202620606010" comment="ruby4.0-rubygem-mysql2 is signed with the Oracle Linux 10 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202620606011" comment="ruby4.0-rubygem-pg is earlier than 0:1.6.3-35.el10_2"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202620606012" comment="ruby4.0-rubygem-pg is signed with the Oracle Linux 10 key"/>
</criteria>
</criteria>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202620606013" comment="Oracle Linux arch is x86_64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202620606003" comment="ruby4.0 is earlier than 0:4.0.3-35.el10_2"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202620606004" comment="ruby4.0 is signed with the Oracle Linux 10 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202620606005" comment="ruby4.0-devel is earlier than 0:4.0.3-35.el10_2"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202620606006" comment="ruby4.0-devel is signed with the Oracle Linux 10 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202620606007" comment="ruby4.0-doc is earlier than 0:4.0.3-35.el10_2"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202620606008" comment="ruby4.0-doc is signed with the Oracle Linux 10 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202620606009" comment="ruby4.0-rubygem-mysql2 is earlier than 0:0.5.7-35.el10_2"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202620606010" comment="ruby4.0-rubygem-mysql2 is signed with the Oracle Linux 10 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202620606011" comment="ruby4.0-rubygem-pg is earlier than 0:1.6.3-35.el10_2"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202620606012" comment="ruby4.0-rubygem-pg is signed with the Oracle Linux 10 key"/>
</criteria>
</criteria>
</criteria>
</criteria>
</criteria>

</definition>
</definitions>
<!--
 ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<tests>
<rpminfo_test id="oval:com.oracle.elsa:tst:202620606001"  version="501" comment="Oracle Linux 10 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202620606001" />
<state state_ref="oval:com.oracle.elsa:ste:202620606002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202620606002"  version="501" comment="Oracle Linux arch is aarch64" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202620606001" />
<state state_ref="oval:com.oracle.elsa:ste:202620606003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202620606003"  version="501" comment="ruby4.0 is earlier than 0:4.0.3-35.el10_2" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202620606002" />
<state state_ref="oval:com.oracle.elsa:ste:202620606004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202620606004"  version="501" comment="ruby4.0 is signed with the Oracle Linux 10 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202620606002" />
<state state_ref="oval:com.oracle.elsa:ste:202620606001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202620606005"  version="501" comment="ruby4.0-devel is earlier than 0:4.0.3-35.el10_2" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202620606003" />
<state state_ref="oval:com.oracle.elsa:ste:202620606004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202620606006"  version="501" comment="ruby4.0-devel is signed with the Oracle Linux 10 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202620606003" />
<state state_ref="oval:com.oracle.elsa:ste:202620606001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202620606007"  version="501" comment="ruby4.0-doc is earlier than 0:4.0.3-35.el10_2" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202620606004" />
<state state_ref="oval:com.oracle.elsa:ste:202620606004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202620606008"  version="501" comment="ruby4.0-doc is signed with the Oracle Linux 10 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202620606004" />
<state state_ref="oval:com.oracle.elsa:ste:202620606001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202620606009"  version="501" comment="ruby4.0-rubygem-mysql2 is earlier than 0:0.5.7-35.el10_2" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202620606005" />
<state state_ref="oval:com.oracle.elsa:ste:202620606005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202620606010"  version="501" comment="ruby4.0-rubygem-mysql2 is signed with the Oracle Linux 10 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202620606005" />
<state state_ref="oval:com.oracle.elsa:ste:202620606001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202620606011"  version="501" comment="ruby4.0-rubygem-pg is earlier than 0:1.6.3-35.el10_2" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202620606006" />
<state state_ref="oval:com.oracle.elsa:ste:202620606006" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202620606012"  version="501" comment="ruby4.0-rubygem-pg is signed with the Oracle Linux 10 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202620606006" />
<state state_ref="oval:com.oracle.elsa:ste:202620606001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202620606013"  version="501" comment="Oracle Linux arch is x86_64" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202620606001" />
<state state_ref="oval:com.oracle.elsa:ste:202620606007" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202620606006" version="501">
<name>ruby4.0-rubygem-pg</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202620606001" version="501">
<name>oraclelinux-release</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202620606004" version="501">
<name>ruby4.0-doc</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202620606005" version="501">
<name>ruby4.0-rubygem-mysql2</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202620606002" version="501">
<name>ruby4.0</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202620606003" version="501">
<name>ruby4.0-devel</name>
</rpminfo_object>
</objects>
<states>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202620606001" version="501">
<signature_keyid operation="equals">bc4d06a08d8b756f</signature_keyid>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202620606002" version="501">
<version operation="pattern match">^10</version>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202620606003" version="501">
<arch operation="pattern match">aarch64</arch>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202620606004" version="501">
<evr datatype="evr_string" operation="less than">0:4.0.3-35.el10_2</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202620606005" version="501">
<evr datatype="evr_string" operation="less than">0:0.5.7-35.el10_2</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202620606006" version="501">
<evr datatype="evr_string" operation="less than">0:1.6.3-35.el10_2</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202620606007" version="501">
<arch operation="pattern match">x86_64</arch>
</rpminfo_state>

</states>
</oval_definitions>
