<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-18T20:18:11</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:202622468" version="501" class="patch">
<metadata>
<title>
ELSA-2026-22468:  openssh security update (IMPORTANT)
</title>
<affected family="unix">
<platform>Oracle Linux 7</platform>

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

<description>
[7.4p1-23.0.5]
- Fix privilege escalation via scp legacy protocol when not in preserving
  file mode [CVE-2026-35385][Orabug: 39480251]
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>IMPORTANT</severity>
<rights>Copyright 2026 Oracle, Inc.</rights>
<issued date="2026-06-18"/>
<cve cvss3="7.5/CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H" href="https://linux.oracle.com/cve/CVE-2026-35385.html" public="20260402">CVE-2026-35385</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:7:9:latest_ELS</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622468001" comment="Oracle Linux 7 is installed"/>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622468002" comment="Oracle Linux arch is x86_64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622468003" comment="openssh is earlier than 0:7.4p1-23.0.5.el7_9"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622468004" comment="openssh is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622468005" comment="openssh-askpass is earlier than 0:7.4p1-23.0.5.el7_9"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622468006" comment="openssh-askpass is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622468007" comment="openssh-cavs is earlier than 0:7.4p1-23.0.5.el7_9"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622468008" comment="openssh-cavs is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622468009" comment="openssh-clients is earlier than 0:7.4p1-23.0.5.el7_9"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622468010" comment="openssh-clients is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622468011" comment="openssh-keycat is earlier than 0:7.4p1-23.0.5.el7_9"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622468012" comment="openssh-keycat is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622468013" comment="openssh-ldap is earlier than 0:7.4p1-23.0.5.el7_9"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622468014" comment="openssh-ldap is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622468015" comment="openssh-server is earlier than 0:7.4p1-23.0.5.el7_9"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622468016" comment="openssh-server is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622468017" comment="openssh-server-sysvinit is earlier than 0:7.4p1-23.0.5.el7_9"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622468018" comment="openssh-server-sysvinit is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202622468019" comment="pam_ssh_agent_auth is earlier than 0:0.10.3-2.23.0.5.el7_9"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202622468020" comment="pam_ssh_agent_auth is signed with the Oracle Linux 7 key"/>
</criteria>
</criteria>
</criteria>
</criteria>

</definition>
</definitions>
<!--
 ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<tests>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468001"  version="501" comment="Oracle Linux 7 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468001" />
<state state_ref="oval:com.oracle.elsa:ste:202622468002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468002"  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:202622468001" />
<state state_ref="oval:com.oracle.elsa:ste:202622468003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468003"  version="501" comment="openssh is earlier than 0:7.4p1-23.0.5.el7_9" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468002" />
<state state_ref="oval:com.oracle.elsa:ste:202622468004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468004"  version="501" comment="openssh is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468002" />
<state state_ref="oval:com.oracle.elsa:ste:202622468001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468005"  version="501" comment="openssh-askpass is earlier than 0:7.4p1-23.0.5.el7_9" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468003" />
<state state_ref="oval:com.oracle.elsa:ste:202622468004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468006"  version="501" comment="openssh-askpass is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468003" />
<state state_ref="oval:com.oracle.elsa:ste:202622468001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468007"  version="501" comment="openssh-cavs is earlier than 0:7.4p1-23.0.5.el7_9" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468004" />
<state state_ref="oval:com.oracle.elsa:ste:202622468004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468008"  version="501" comment="openssh-cavs is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468004" />
<state state_ref="oval:com.oracle.elsa:ste:202622468001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468009"  version="501" comment="openssh-clients is earlier than 0:7.4p1-23.0.5.el7_9" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468005" />
<state state_ref="oval:com.oracle.elsa:ste:202622468004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468010"  version="501" comment="openssh-clients is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468005" />
<state state_ref="oval:com.oracle.elsa:ste:202622468001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468011"  version="501" comment="openssh-keycat is earlier than 0:7.4p1-23.0.5.el7_9" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468006" />
<state state_ref="oval:com.oracle.elsa:ste:202622468004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468012"  version="501" comment="openssh-keycat is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468006" />
<state state_ref="oval:com.oracle.elsa:ste:202622468001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468013"  version="501" comment="openssh-ldap is earlier than 0:7.4p1-23.0.5.el7_9" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468007" />
<state state_ref="oval:com.oracle.elsa:ste:202622468004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468014"  version="501" comment="openssh-ldap is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468007" />
<state state_ref="oval:com.oracle.elsa:ste:202622468001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468015"  version="501" comment="openssh-server is earlier than 0:7.4p1-23.0.5.el7_9" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468008" />
<state state_ref="oval:com.oracle.elsa:ste:202622468004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468016"  version="501" comment="openssh-server is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468008" />
<state state_ref="oval:com.oracle.elsa:ste:202622468001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468017"  version="501" comment="openssh-server-sysvinit is earlier than 0:7.4p1-23.0.5.el7_9" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468009" />
<state state_ref="oval:com.oracle.elsa:ste:202622468004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468018"  version="501" comment="openssh-server-sysvinit is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468009" />
<state state_ref="oval:com.oracle.elsa:ste:202622468001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468019"  version="501" comment="pam_ssh_agent_auth is earlier than 0:0.10.3-2.23.0.5.el7_9" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468010" />
<state state_ref="oval:com.oracle.elsa:ste:202622468005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202622468020"  version="501" comment="pam_ssh_agent_auth is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202622468010" />
<state state_ref="oval:com.oracle.elsa:ste:202622468001" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622468004" version="501">
<name>openssh-cavs</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622468001" 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:202622468008" version="501">
<name>openssh-server</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622468002" version="501">
<name>openssh</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622468010" version="501">
<name>pam_ssh_agent_auth</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622468005" version="501">
<name>openssh-clients</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622468003" version="501">
<name>openssh-askpass</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622468007" version="501">
<name>openssh-ldap</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622468009" version="501">
<name>openssh-server-sysvinit</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202622468006" version="501">
<name>openssh-keycat</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:202622468001" version="501">
<signature_keyid operation="equals">72f97b74ec551f03</signature_keyid>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202622468002" version="501">
<version operation="pattern match">^7</version>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202622468003" version="501">
<arch operation="pattern match">x86_64</arch>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202622468004" version="501">
<evr datatype="evr_string" operation="less than">0:7.4p1-23.0.5.el7_9</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202622468005" version="501">
<evr datatype="evr_string" operation="less than">0:0.10.3-2.23.0.5.el7_9</evr>
</rpminfo_state>

</states>
</oval_definitions>
