CVE-2017-18926
raptor_xml_writer_start_element_common in raptor_xml_writer.c in Raptor RDF Syntax Library 2.0.15...
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).
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.1
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).
- Record
CVE-2017-18926- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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).
- Record
CVE-2017-18926- Updated
- 2026-11-02
EUVDEUVD-2017-10015 No score
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).
- Record
EUVD-2017-10015- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-p2vv-g8rx-7jqj
7.1
raptor_xml_writer_start_element_common in raptor_xml_writer.c in Raptor RDF Syntax Library 2.0.15...
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).
- Record
GHSA-p2vv-g8rx-7jqj- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVAZL-45321
7.1
CVE-2017-18926 affecting package raptor2 2.0.15-29
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).
- Record
AZL-45321- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H - Updated
- 2026-11-05
OSV
7.1
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).
- Record
CVE-2017-18926- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
Show 13 moreShow less
OSVDEBIAN-CVE-2017-18926
7.1
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).
- Record
DEBIAN-CVE-2017-18926- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
OSVRHSA-2021:1842
6.5
Red Hat Security Advisory: raptor2 security and bug fix update
- Record
RHSA-2021:1842- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRLSA-2021:1842
7.1
Moderate: raptor2 security and bug fix update
Raptor is the RDF Parser Toolkit for Redland that provides a set of standalone RDF parsers, generating triples from RDF/XML or N-Triples.
Security Fix(es):
-
raptor: heap-based buffer overflows due to an error in calculating the maximum nspace declarations for the XML writer (CVE-2017-18926)
-
raptor2: malformed input file can lead to a segfault due to an out of bounds array access in raptor_xml_writer_start_element_common (CVE-2020-25713)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 8.4 Release Notes linked from the References section.
- Record
RLSA-2021:1842- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-18926
7.1
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).
- Record
UBUNTU-CVE-2017-18926- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
OSVALSA-2021:1842 No score
Moderate: raptor2 security and bug fix update
Raptor is the RDF Parser Toolkit for Redland that provides a set of standalone RDF parsers, generating triples from RDF/XML or N-Triples.
Security Fix(es):
-
raptor: heap-based buffer overflows due to an error in calculating the maximum nspace declarations for the XML writer (CVE-2017-18926)
-
raptor2: malformed input file can lead to a segfault due to an out of bounds array access in raptor_xml_writer_start_element_common (CVE-2020-25713)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2021:1842- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:1949-1 No score
Security update for raptor
This update for raptor fixes the following issues:
- Fixed a heap overflow vulnerability (bsc#1178593, CVE-2017-18926).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2020:1949-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:1959-1 No score
Security update for raptor
This update for raptor fixes the following issues:
- Fixed a heap overflow vulnerability (bsc#1178593, CVE-2017-18926).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2020:1959-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11296-1 No score
libraptor-devel-2.0.15-3.8 on GA media
These are all security issues fixed in the libraptor-devel-2.0.15-3.8 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11296-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:3350-1 No score
Security update for raptor
This update for raptor fixes the following issues:
- Fixed a heap overflow vulnerability (bsc#1178593, CVE-2017-18926).
- Record
SUSE-SU-2020:3350-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:3351-1 No score
Security update for raptor
This update for raptor fixes the following issues:
- Fixed a heap overflow vulnerability (bsc#1178593, CVE-2017-18926).
- Update raptor to version 2.0.15
- Made several fixes to Turtle / N-Triples family of parsers and serializers
- Added utility functions for re-entrant sorting of objects and sequences.
- Made other fixes and improvements including fixing reported issues: 0000574, 0000575, 0000576, 0000577, 0000579, 0000581 and 0000584.
- Record
SUSE-SU-2020:3351-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:3352-1 No score
Security update for raptor
This update for raptor fixes the following issues:
- Fixed a heap overflow vulnerability (bsc#1178593, CVE-2017-18926).
- Record
SUSE-SU-2020:3352-1- Updated
- 2026-11-02
OSVUSN-4630-1 No score
raptor2 vulnerability
Hanno Böck discovered that Raptor incorrectly handled certain memory operations. If a user were tricked into opening a specially crafted document in an application linked against Raptor, an attacker could cause the application to crash, resulting in a denial of service, or possibly execute arbitrary code.
- Record
USN-4630-1- Updated
- 2026-11-02
OSVUSN-7868-1 No score
raptor vulnerabilities
Hanno Böck discovered that Raptor incorrectly handled memory operations when processing certain input files. An attacker could use this issue to cause Raptor to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2017-18926)
Hanno Böck discovered that Raptor incorrectly handled memory operations when processing certain input files. An attacker could possibly use this issue to cause Raptor to crash, resulting in a denial of service. (CVE-2020-25713)
- Record
USN-7868-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
raptor2AlmaLinux:8 From an advisory covering 2 CVEs |
before 2.0.15-16.el8 | 2.0.15-16.el8 |
raptor2-develAlmaLinux:8 From an advisory covering 2 CVEs |
before 2.0.15-16.el8 | 2.0.15-16.el8 |
raptor2Azure Linux:3 |
through 2.0.15-29 | None known |
raptor2Debian:12 |
before 2.0.14-1.1 | 2.0.14-1.1 |
raptor2Debian:13 |
before 2.0.14-1.1 | 2.0.14-1.1 |
raptor2Debian:14 |
before 2.0.14-1.1 | 2.0.14-1.1 |
raptor2Debian:9 |
before 2.0.14-1+deb9u1, plus listed versions 2.0.14-1 |
2.0.14-1+deb9u1 |
raptor2Debian:10 |
before 2.0.14-1.1~deb10u1, plus listed versions 2.0.14-1 |
2.0.14-1.1~deb10u1 |
raptor2Red Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.0.15-16.el8 | 0:2.0.15-16.el8 |
raptor2-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.0.15-16.el8 | 0:2.0.15-16.el8 |
Show 35 moreShow less
| Package | Affected | Fixed |
|---|---|---|
raptor2-debugsourceRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.0.15-16.el8 | 0:2.0.15-16.el8 |
raptor2Red Hat:enterprise_linux:8::crb From an advisory covering 2 CVEs |
before 0:2.0.15-16.el8 | 0:2.0.15-16.el8 |
raptor2-debuginfoRed Hat:enterprise_linux:8::crb From an advisory covering 2 CVEs |
before 0:2.0.15-16.el8 | 0:2.0.15-16.el8 |
raptor2-debugsourceRed Hat:enterprise_linux:8::crb From an advisory covering 2 CVEs |
before 0:2.0.15-16.el8 | 0:2.0.15-16.el8 |
raptor2-develRed Hat:enterprise_linux:8::crb From an advisory covering 2 CVEs |
before 0:2.0.15-16.el8 | 0:2.0.15-16.el8 |
raptor2Rocky Linux:8 From an advisory covering 2 CVEs |
before 0:2.0.15-16.el8 | 0:2.0.15-16.el8 |
raptorSUSE:Linux Enterprise Module for Desktop Applications 15 SP1 |
before 2.0.15-3.3.1 | 2.0.15-3.3.1 |
raptorSUSE:HPE Helion OpenStack 8 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:OpenStack Cloud 7 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:OpenStack Cloud 8 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:OpenStack Cloud 9 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:OpenStack Cloud Crowbar 8 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:OpenStack Cloud Crowbar 9 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Linux Enterprise Server 12 SP2-LTSS |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Linux Enterprise Server 12 SP2-BCL |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Linux Enterprise Server 12 SP3-LTSS |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Linux Enterprise Server 12 SP3-BCL |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Linux Enterprise Server 12 SP4-LTSS |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Linux Enterprise Server 12 SP5 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Linux Enterprise Workstation Extension 12 SP5 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Enterprise Storage 5 |
before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
raptorSUSE:Linux Enterprise Module for Desktop Applications 15 SP2 |
before 2.0.15-9.3.1 | 2.0.15-9.3.1 |
raptor2Ubuntu:16.04:LTS |
before 2.0.14-1ubuntu0.16.04.1, plus listed versions 2.0.14-1 |
2.0.14-1ubuntu0.16.04.1 |
raptorUbuntu:Pro:16.04:LTS |
before 1.4.21-11ubuntu0.1~esm1, plus listed versions 1.4.21-11 |
1.4.21-11ubuntu0.1~esm1 |
raptor2Ubuntu:18.04:LTS |
before 2.0.14-1ubuntu0.18.04.1, plus listed versions 2.0.14-1build1 |
2.0.14-1ubuntu0.18.04.1 |
raptor2Ubuntu:20.04:LTS |
before 2.0.15-0ubuntu1.20.04.1, plus listed versions 2.0.15-0ubuntu1 |
2.0.15-0ubuntu1.20.04.1 |
raptor2Ubuntu:22.04:LTS |
before 2.0.15-0ubuntu2 | 2.0.15-0ubuntu2 |
raptorUbuntu:Pro:16.04:LTS From an advisory covering 2 CVEs |
before 1.4.21-11ubuntu0.1~esm1, plus listed versions 1.4.21-11 |
1.4.21-11ubuntu0.1~esm1 |
raptoropenSUSE:Leap 15.2 |
before 2.0.15-lp152.4.3.1 | 2.0.15-lp152.4.3.1 |
raptoropenSUSE:Leap 15.1 |
before 2.0.15-lp151.3.3.1 | 2.0.15-lp151.3.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-18926 is a high vulnerability (CVSS 7.1) in Librdf Raptor Rdf Syntax Library, published November 6, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.12%, the 87th percentile. Fixed in raptor2 2.0.14-1.1.
References
openwall.com/lists/oss-security/2017/06/07/1
github.com/LibreOffice/core/blob/master/external/redland/raptor/0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch.1
lists.debian.org/debian-lts-announce/2020/11/msg00012.html
debian.org/security/2020/dsa-4785
openwall.com/lists/oss-security/2020/11/13/1
openwall.com/lists/oss-security/2020/11/13/2
Show 39 moreShow less
openwall.com/lists/oss-security/2020/11/14/2
openwall.com/lists/oss-security/2020/11/16/3
openwall.com/lists/oss-security/2020/11/16/2
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RD67AVORGQXORPWNYYUHCH6YPPT6CI4O
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVHFYQDMVEBICIL4DBAGRRLPUR4QYWMV
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WDZRNM45VPTQF2BKRWG4YRCHJGQ2L7NS
nvd.nist.gov/vuln/detail/CVE-2017-18926
lists.fedoraproject.org/archives/list/[email protected]/message/RD67AVORGQXORPWNYYUHCH6YPPT6CI4O
lists.fedoraproject.org/archives/list/[email protected]/message/RVHFYQDMVEBICIL4DBAGRRLPUR4QYWMV
lists.fedoraproject.org/archives/list/[email protected]/message/WDZRNM45VPTQF2BKRWG4YRCHJGQ2L7NS
github.com/advisories/GHSA-p2vv-g8rx-7jqj
errata.almalinux.org/8/ALSA-2021-1842.html
vulners.com/cve/CVE-2017-18926
vulners.com/cve/CVE-2020-25713
security-tracker.debian.org/tracker/CVE-2017-18926
access.redhat.com/errata/RHSA-2021:1842
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes
bugzilla.redhat.com/show_bug.cgi?id=1896120
bugzilla.redhat.com/show_bug.cgi?id=1900685
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1842.json
access.redhat.com/security/cve/CVE-2017-18926
cve.org/CVERecord?id=CVE-2017-18926
access.redhat.com/security/cve/CVE-2020-25713
cve.org/CVERecord?id=CVE-2020-25713
nvd.nist.gov/vuln/detail/CVE-2020-25713
bugs.librdf.org/mantis/view.php?id=650
errata.rockylinux.org/RLSA-2021:1842
suse.com/support/update/announcement/2020/suse-su-20203350-1
bugzilla.suse.com/1178593
suse.com/security/cve/CVE-2017-18926
suse.com/support/update/announcement/2020/suse-su-20203351-1
suse.com/support/update/announcement/2020/suse-su-20203352-1
ubuntu.com/security/CVE-2017-18926
ubuntu.com/security/notices/USN-4630-1
ubuntu.com/security/notices/USN-7868-1
ubuntu.com/security/CVE-2020-25713
lists.opensuse.org/archives/list/[email protected]/thread/IUV22LIOLBYBTTH7G7HNENHDQDYBB4WP
lists.opensuse.org/archives/list/[email protected]/thread/UXCAHUNNGDFKLSCGKPLLGBYG4BM2FW4J