raptor: heap-based buffer overflows due to an error in calculating the maximum nspace declarations for the XML writer
Published Nov 6, 2020
7.1
HIGHCVSS 3.1
EPSS 3.12%
Description
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).
Affected products
No data.
Configuration 1
- 2.0.15
Configuration 2
- 9.0
- 10.0
Configuration 3
- 31
- 32
- 33
No data.
Red Hat Enterprise Linux 8
raptor2-0:2.0.15-16.el8
Fixed · RHSA-2021:1842
Red Hat Enterprise Linux 6
libreoffice
Out of support scope
Red Hat Enterprise Linux 6
raptor
Out of support scope
Red Hat Enterprise Linux 7
libreoffice
Out of support scope
Red Hat Enterprise Linux 7
raptor2
Out of support scope
Red Hat Enterprise Linux 8
libreoffice
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | raptor2-0:2.0.15-16.el8 | Fixed | RHSA-2021:1842 |
| Red Hat Enterprise Linux 6 | libreoffice | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | raptor | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | libreoffice | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | raptor2 | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | libreoffice | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
LibreOffice as shipped with Red Hat Enterprise Linux 8 is notaffected by this flaw as the version of raptor used in LibreOffice already has the patch.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.12% (0.03117) | 87.36th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.08% (0.03079) | 85.92th | v5 (v2026.06.15) |
| Nov 14, 2025 | 2.40% (0.02401) | 84.55th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.83% (0.03832) | 87.07th | v4 (v2025.03.14) |
| Mar 29, 2025 | 8.73% (0.08734) | 87.28th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.83% (0.03832) | 87.37th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.45% (0.00448) | 75.85th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.45% (0.00448) | 74.29th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.45% (0.00448) | 72.14th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.22% (0.00225) | 58.90th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.68% (0.02678) | 55.40th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.68% (0.02678) | 0.00th | v1 |
References (16)
- http://www.openwall.com/lists/oss-security/2020/11/13/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/11/13/2 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/11/14/2 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/11/16/2 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/11/16/3 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-18926 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1896120 Issue Tracking
- https://github.com/LibreOffice/core/blob/master/external/redland/raptor/0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch.1 x_refsource_MISCPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/11/msg00012.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RD67AVORGQXORPWNYYUHCH6YPPT6CI4O/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVHFYQDMVEBICIL4DBAGRRLPUR4QYWMV/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WDZRNM45VPTQF2BKRWG4YRCHJGQ2L7NS/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2017-18926
- https://www.cve.org/CVERecord?id=CVE-2017-18926
- https://www.debian.org/security/2020/dsa-4785 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.openwall.com/lists/oss-security/2017/06/07/1 x_refsource_MISCExploitMailing ListPatchThird Party Advisory
Change history (0)
No recorded changes yet.