<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-06-26T10:20:52</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:202622717" version="501" class="patch">
<metadata>
<title>
ELSA-2026-22717:  vim security update (MODERATE)
</title>
<affected family="unix">
<platform>Oracle Linux 9</platform>

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

<description>
[8.2.2637-26.0.1.el9_8.5]
- Remove upstream references [Orabug: 31197557]

[2:8.2.2637-26.5]
- RHEL-170136 CVE-2026-35177 vim: Vim zip.vim plugin: Arbitrary file overwrite
  via path traversal bypass

[2:8.2.2637-26.4]
- Resolves: RHEL-164966 vim: arbitrary command execution via modeline sandbox bypass

[2:8.2.2637-26.3]
- Related: RHEL-159630 rebuild to build with exception target

[2:8.2.2637-26.2]
- remove -O0 from flags

[2:8.2.2637-26.1]
- RHEL-159630 CVE-2026-33412 vim: Vim: Arbitrary code execution via command injection in glob() function
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>MODERATE</severity>
<rights>Copyright 2026 Oracle, Inc.</rights>
<issued date="2026-06-23"/>
<cve cvss3="4.1/CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L" href="https://linux.oracle.com/cve/CVE-2026-35177.html" public="20260406">CVE-2026-35177</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:9::appstream</cpe>
<cpe>cpe:/o:oracle:linux:9:8:baseos_patch</cpe>
<cpe>cpe:/o:oracle:linux:9::baseos_latest</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622717001" comment="Oracle Linux 9 is installed"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622717002" comment="Oracle Linux arch is aarch64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622717003" comment="vim-X11 is earlier than 2:8.2.2637-26.0.1.el9_8.5"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622717004" comment="vim-X11 is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622717005" comment="vim-common is earlier than 2:8.2.2637-26.0.1.el9_8.5"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622717006" comment="vim-common is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622717007" comment="vim-enhanced is earlier than 2:8.2.2637-26.0.1.el9_8.5"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622717008" comment="vim-enhanced is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622717009" comment="vim-filesystem is earlier than 2:8.2.2637-26.0.1.el9_8.5"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622717010" comment="vim-filesystem is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622717011" comment="vim-minimal is earlier than 2:8.2.2637-26.0.1.el9_8.5"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622717012" comment="vim-minimal is signed with the Oracle Linux 9 key"/>
</criteria>
</criteria>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622717013" comment="Oracle Linux arch is x86_64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622717003" comment="vim-X11 is earlier than 2:8.2.2637-26.0.1.el9_8.5"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622717004" comment="vim-X11 is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622717005" comment="vim-common is earlier than 2:8.2.2637-26.0.1.el9_8.5"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622717006" comment="vim-common is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622717007" comment="vim-enhanced is earlier than 2:8.2.2637-26.0.1.el9_8.5"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622717008" comment="vim-enhanced is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622717009" comment="vim-filesystem is earlier than 2:8.2.2637-26.0.1.el9_8.5"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622717010" comment="vim-filesystem is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622717011" comment="vim-minimal is earlier than 2:8.2.2637-26.0.1.el9_8.5"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622717012" comment="vim-minimal is signed with the Oracle Linux 9 key"/>
</criteria>
</criteria>
</criteria>
</criteria>
</criteria>

</definition>
</definitions>
<!--
 ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<tests>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622717001"  version="501" comment="Oracle Linux 9 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622717001" />
<state state_ref="oval:com.oracle.elsa:ste:202622717002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622717002"  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:202622717001" />
<state state_ref="oval:com.oracle.elsa:ste:202622717003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622717003"  version="501" comment="vim-X11 is earlier than 2:8.2.2637-26.0.1.el9_8.5" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622717002" />
<state state_ref="oval:com.oracle.elsa:ste:202622717004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622717004"  version="501" comment="vim-X11 is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622717002" />
<state state_ref="oval:com.oracle.elsa:ste:202622717001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622717005"  version="501" comment="vim-common is earlier than 2:8.2.2637-26.0.1.el9_8.5" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622717003" />
<state state_ref="oval:com.oracle.elsa:ste:202622717004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622717006"  version="501" comment="vim-common is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622717003" />
<state state_ref="oval:com.oracle.elsa:ste:202622717001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622717007"  version="501" comment="vim-enhanced is earlier than 2:8.2.2637-26.0.1.el9_8.5" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622717004" />
<state state_ref="oval:com.oracle.elsa:ste:202622717004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622717008"  version="501" comment="vim-enhanced is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622717004" />
<state state_ref="oval:com.oracle.elsa:ste:202622717001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622717009"  version="501" comment="vim-filesystem is earlier than 2:8.2.2637-26.0.1.el9_8.5" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622717005" />
<state state_ref="oval:com.oracle.elsa:ste:202622717004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622717010"  version="501" comment="vim-filesystem is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622717005" />
<state state_ref="oval:com.oracle.elsa:ste:202622717001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622717011"  version="501" comment="vim-minimal is earlier than 2:8.2.2637-26.0.1.el9_8.5" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622717006" />
<state state_ref="oval:com.oracle.elsa:ste:202622717004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622717012"  version="501" comment="vim-minimal is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622717006" />
<state state_ref="oval:com.oracle.elsa:ste:202622717001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622717013"  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:202622717001" />
<state state_ref="oval:com.oracle.elsa:ste:202622717005" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622717006" version="501">
<name>vim-minimal</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622717003" version="501">
<name>vim-common</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622717001" 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:202622717005" version="501">
<name>vim-filesystem</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622717002" version="501">
<name>vim-X11</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622717004" version="501">
<name>vim-enhanced</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:202622717001" 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:202622717002" version="501">
<version operation="pattern match">^9</version>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202622717003" 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:202622717004" version="501">
<evr datatype="evr_string" operation="less than">2:8.2.2637-26.0.1.el9_8.5</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202622717005" version="501">
<arch operation="pattern match">x86_64</arch>
</rpminfo_state>

</states>
</oval_definitions>
