{"id":"UBUNTU-CVE-2017-18926","details":"raptor_xml_writer_start_element_common in raptor_xml_writer.c in Raptor RDF Syntax Library 2.0.15 miscalculates the maximum nspace declarations for the XML writer, leading to heap-based buffer overflows (sometimes seen in raptor_qname_format_as_xml).","modified":"2026-01-30T01:34:48.275979Z","published":"2020-11-06T18:15:00Z","related":["USN-4630-1","USN-7868-1"],"upstream":["CVE-2017-18926"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-18926"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2017/06/07/1"},{"type":"REPORT","url":"https://github.com/LibreOffice/core/blob/master/external/redland/raptor/0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch.1"},{"type":"REPORT","url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00012.html"},{"type":"REPORT","url":"https://www.debian.org/security/2020/dsa-4785"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4630-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-18926"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7868-1"}],"affected":[{"package":{"name":"raptor2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/raptor2@2.0.14-1ubuntu0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.14-1ubuntu0.16.04.1"}]}],"versions":["2.0.14-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.14-1ubuntu0.16.04.1","binary_name":"libraptor2-0"},{"binary_version":"2.0.14-1ubuntu0.16.04.1","binary_name":"libraptor2-dev"},{"binary_version":"2.0.14-1ubuntu0.16.04.1","binary_name":"raptor2-utils"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18926.json"}},{"package":{"name":"raptor","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/raptor@1.4.21-11ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.21-11ubuntu0.1~esm1"}]}],"versions":["1.4.21-11"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.21-11ubuntu0.1~esm1","binary_name":"libraptor1"},{"binary_version":"1.4.21-11ubuntu0.1~esm1","binary_name":"libraptor1-dev"},{"binary_version":"1.4.21-11ubuntu0.1~esm1","binary_name":"raptor-utils"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18926.json"}},{"package":{"name":"raptor2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/raptor2@2.0.14-1ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.14-1ubuntu0.18.04.1"}]}],"versions":["2.0.14-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.14-1ubuntu0.18.04.1","binary_name":"libraptor2-0"},{"binary_version":"2.0.14-1ubuntu0.18.04.1","binary_name":"libraptor2-dev"},{"binary_version":"2.0.14-1ubuntu0.18.04.1","binary_name":"raptor2-utils"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18926.json"}},{"package":{"name":"raptor2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/raptor2@2.0.15-0ubuntu1.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.15-0ubuntu1.20.04.1"}]}],"versions":["2.0.15-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.15-0ubuntu1.20.04.1","binary_name":"libraptor2-0"},{"binary_version":"2.0.15-0ubuntu1.20.04.1","binary_name":"libraptor2-dev"},{"binary_version":"2.0.15-0ubuntu1.20.04.1","binary_name":"raptor2-utils"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18926.json"}},{"package":{"name":"raptor2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/raptor2@2.0.15-0ubuntu2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.15-0ubuntu2"}]}],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.15-0ubuntu2","binary_name":"libraptor2-0"},{"binary_version":"2.0.15-0ubuntu2","binary_name":"libraptor2-dev"},{"binary_version":"2.0.15-0ubuntu2","binary_name":"raptor2-utils"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18926.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]}