CVE-2017-18926 json
raptor_xml_writer_start_element_common in raptor_xml_writer.c in Raptor RDF Syntax Library 2.0.15 miscalculates the maximum nspace declarat…
published 2020-11-06 6 y ago modified 2026-06-17 4 mo ago also EUVD-2017-10015
- cvss
- 7.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.0%
- EPSS 3.0% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- raptor2 Debian 14, Debian 13, Debian 12 2.0.14-1.1
debian advisories DEBIAN-CVE-2017-18926
- raptor2 Ubuntu 16.04 LTS 2.0.14-1ubuntu0.16.04.1
- raptor2 Ubuntu 18.04 LTS 2.0.14-1ubuntu0.18.04.1
- raptor2 Ubuntu 20.04 LTS 2.0.15-0ubuntu1.20.04.1
- raptor2 Ubuntu 22.04 LTS 2.0.15-0ubuntu2
- raptor Ubuntu Pro 16.04 LTS 1.4.21-11ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2017-18926
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- raptor2 RHEL 8 2.0.15-16.el8
red hat advisories RHSA-2021:1842
- raptor SLE Module for Desktop Applications 15 SP2 2.0.15-9.3.1
- raptor SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +16 more 2.0.15-5.3.1
- raptor SLE Module for Desktop Applications 15 SP1 2.0.15-3.3.1
suse advisories SUSE-SU-2020:3352-1SUSE-SU-2020:3351-1SUSE-SU-2020:3350-1
- raptor openSUSE Leap 15.1 2.0.15-lp151.3.3.1
- raptor openSUSE Leap 15.2 2.0.15-lp152.4.3.1
opensuse advisories openSUSE-SU-2020:1959-1openSUSE-SU-2020:1949-1
- raptor2 AlmaLinux 8 2.0.15-16.el8
almalinux advisories ALSA-2021:1842
- raptor2 Rocky Linux 8 2.0.15-16.el8
rocky linux advisories RLSA-2021:1842
- raptor2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 2.0.15-r2
alpine advisories ALPINE-CVE-2017-18926
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- raptor Arch Linux 2.0.15-14
arch linux advisories AVG-1283
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-18926 updated cvss 7.1
raptor: heap-based buffer overflows due to an error in calculating the maximum nspace declarations for the XML writer
-
Red Hat Enterprise Linux 6 raptor, autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, +61 more Red Hat Enterprise Linux 7 raptor2, autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, +106 moreaffected: no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 8) raptor2 2.0.15-16.el8 Red Hat Enterprise Linux AppStream (v. 8) raptor2 2.0.15-16.el8fixed: vendor fix RHSA-2021:1842
-
Red Hat Enterprise Linux 8 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +98 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.99% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- openwall.com https://www.openwall.com/lists/oss-security/2017/06/07/1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
openwall.com
/lists/oss-security/2017/06/07/1
exploit, mailing-list, patch, third-party-advisory
-
github.com
/LibreOffice/core/blob/master/external/redland/raptor/0001-Calcualte-max-nspace-declarations-correctly-for-XML
patch, third-party-advisory
-
debian.org
/security/2020/dsa-4785
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/RD67AVORGQXORPWNYYUHCH6YPPT6CI4O/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/RVHFYQDMVEBICIL4DBAGRRLPUR4QYWMV/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/WDZRNM45VPTQF2BKRWG4YRCHJGQ2L7NS/
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2020/11/msg00012.html
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2020/11/13/1
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2020/11/13/2
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2020/11/14/2
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2020/11/16/3
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2020/11/16/2
mailing-list, third-party-advisory
Sources
- CVE List CVE-2017-18926
- NVD CVE-2017-18926
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.