<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-10-07T11:09:58</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:202676877" version="501" class="patch">
<metadata>
<title>
ELSA-2026-76877:  ghostscript security update (MODERATE)
</title>
<affected family="unix">
<platform>Oracle Linux 8</platform>

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

<description>
[9.27-18]
- RHEL-264919 CVE-2026-39919 ghostscript: Heap buffer overflow in JPEG 2000 output adapter via component subsampling mismatch
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>MODERATE</severity>
<rights>Copyright 2026 Oracle, Inc.</rights>
<issued date="2026-10-06"/>
<cve cvss3="7.8/CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" href="https://linux.oracle.com/cve/CVE-2026-39919.html" public="20260915">CVE-2026-39919</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:8::appstream</cpe>
<cpe>cpe:/a:oracle:linux:8::codeready_builder</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877001" comment="Oracle Linux 8 is installed"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877002" comment="Oracle Linux arch is aarch64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877003" comment="ghostscript is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877004" comment="ghostscript is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877005" comment="ghostscript-doc is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877006" comment="ghostscript-doc is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877007" comment="ghostscript-tools-dvipdf is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877008" comment="ghostscript-tools-dvipdf is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877009" comment="ghostscript-tools-fonts is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877010" comment="ghostscript-tools-fonts is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877011" comment="ghostscript-tools-printing is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877012" comment="ghostscript-tools-printing is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877013" comment="ghostscript-x11 is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877014" comment="ghostscript-x11 is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877015" comment="libgs is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877016" comment="libgs is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877017" comment="libgs-devel is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877018" comment="libgs-devel is signed with the Oracle Linux 8 key"/>
</criteria>
</criteria>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877019" comment="Oracle Linux arch is x86_64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877003" comment="ghostscript is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877004" comment="ghostscript is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877005" comment="ghostscript-doc is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877006" comment="ghostscript-doc is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877007" comment="ghostscript-tools-dvipdf is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877008" comment="ghostscript-tools-dvipdf is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877009" comment="ghostscript-tools-fonts is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877010" comment="ghostscript-tools-fonts is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877011" comment="ghostscript-tools-printing is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877012" comment="ghostscript-tools-printing is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877013" comment="ghostscript-x11 is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877014" comment="ghostscript-x11 is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877015" comment="libgs is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877016" comment="libgs is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202676877017" comment="libgs-devel is earlier than 0:9.27-18.el8_10"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202676877018" comment="libgs-devel is signed with the Oracle Linux 8 key"/>
</criteria>
</criteria>
</criteria>
</criteria>
</criteria>

</definition>
</definitions>
<!--
 ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<tests>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877001"  version="501" comment="Oracle Linux 8 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877001" />
<state state_ref="oval:com.oracle.elsa:ste:202676877002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877002"  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:202676877001" />
<state state_ref="oval:com.oracle.elsa:ste:202676877003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877003"  version="501" comment="ghostscript is earlier than 0:9.27-18.el8_10" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877002" />
<state state_ref="oval:com.oracle.elsa:ste:202676877004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877004"  version="501" comment="ghostscript is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877002" />
<state state_ref="oval:com.oracle.elsa:ste:202676877001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877005"  version="501" comment="ghostscript-doc is earlier than 0:9.27-18.el8_10" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877003" />
<state state_ref="oval:com.oracle.elsa:ste:202676877004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877006"  version="501" comment="ghostscript-doc is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877003" />
<state state_ref="oval:com.oracle.elsa:ste:202676877001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877007"  version="501" comment="ghostscript-tools-dvipdf is earlier than 0:9.27-18.el8_10" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877004" />
<state state_ref="oval:com.oracle.elsa:ste:202676877004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877008"  version="501" comment="ghostscript-tools-dvipdf is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877004" />
<state state_ref="oval:com.oracle.elsa:ste:202676877001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877009"  version="501" comment="ghostscript-tools-fonts is earlier than 0:9.27-18.el8_10" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877005" />
<state state_ref="oval:com.oracle.elsa:ste:202676877004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877010"  version="501" comment="ghostscript-tools-fonts is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877005" />
<state state_ref="oval:com.oracle.elsa:ste:202676877001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877011"  version="501" comment="ghostscript-tools-printing is earlier than 0:9.27-18.el8_10" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877006" />
<state state_ref="oval:com.oracle.elsa:ste:202676877004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877012"  version="501" comment="ghostscript-tools-printing is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877006" />
<state state_ref="oval:com.oracle.elsa:ste:202676877001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877013"  version="501" comment="ghostscript-x11 is earlier than 0:9.27-18.el8_10" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877007" />
<state state_ref="oval:com.oracle.elsa:ste:202676877004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877014"  version="501" comment="ghostscript-x11 is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877007" />
<state state_ref="oval:com.oracle.elsa:ste:202676877001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877015"  version="501" comment="libgs is earlier than 0:9.27-18.el8_10" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877008" />
<state state_ref="oval:com.oracle.elsa:ste:202676877004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877016"  version="501" comment="libgs is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877008" />
<state state_ref="oval:com.oracle.elsa:ste:202676877001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877017"  version="501" comment="libgs-devel is earlier than 0:9.27-18.el8_10" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877009" />
<state state_ref="oval:com.oracle.elsa:ste:202676877004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877018"  version="501" comment="libgs-devel is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202676877009" />
<state state_ref="oval:com.oracle.elsa:ste:202676877001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202676877019"  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:202676877001" />
<state state_ref="oval:com.oracle.elsa:ste:202676877005" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202676877005" version="501">
<name>ghostscript-tools-fonts</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202676877002" version="501">
<name>ghostscript</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202676877004" version="501">
<name>ghostscript-tools-dvipdf</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202676877006" version="501">
<name>ghostscript-tools-printing</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202676877001" 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:202676877009" version="501">
<name>libgs-devel</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202676877008" version="501">
<name>libgs</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202676877007" version="501">
<name>ghostscript-x11</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202676877003" version="501">
<name>ghostscript-doc</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:202676877001" version="501">
<signature_keyid operation="equals">82562ea9ad986da3</signature_keyid>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202676877002" version="501">
<version operation="pattern match">^8</version>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202676877003" 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:202676877004" version="501">
<evr datatype="evr_string" operation="less than">0:9.27-18.el8_10</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202676877005" version="501">
<arch operation="pattern match">x86_64</arch>
</rpminfo_state>

</states>
</oval_definitions>
