PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2017-18926: 
LibreOffice vulnerability analysis and mitigation

Overview

CVE-2017-18926 affects the Raptor RDF Syntax Library 2.0.15, specifically in the raptor_xml_writer_start_element_common function within raptor_xml_writer.c. The vulnerability was discovered in 2017 and publicly disclosed in June 2017, but wasn't assigned a CVE identifier until November 2020. The vulnerability affects various Linux distributions that use the system-provided libraptor, including Debian, Ubuntu, and Fedora (OSS Security).

Technical details

The vulnerability stems from a miscalculation of the maximum nspace declarations for the XML writer, which leads to heap-based buffer overflows. This issue can be triggered through the raptor_qname_format_as_xml function. The vulnerability has a CVSS v3.1 base score of 7.1 (High), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H (NVD).

Impact

The vulnerability can result in denial of service conditions or potentially lead to arbitrary code execution when processing specially crafted files. This is particularly concerning as the library is used by prominent applications like LibreOffice, where the vulnerability can be triggered through ODT files (Debian Advisory).

Exploitability

The vulnerability is exploitable through specially crafted RDF files, and proof-of-concept code has been publicly available since its initial disclosure. The issue can be triggered through LibreOffice when opening maliciously crafted ODT files on systems using the system-provided libraptor (OSS Security).

Mitigation and workarounds

Multiple Linux distributions have released patches to address this vulnerability. Debian has fixed the issue in version 2.0.14-1.1~deb10u1 for the stable distribution (buster), and version 2.0.14-1+deb9u1 for Stretch. Fedora has released fixes for versions 31, 32, and 33 (Debian Advisory, Fedora Update).

Community reactions

The vulnerability highlighted issues in the security update process for packages with inactive upstream maintenance. The delay in CVE assignment (from 2017 to 2020) sparked discussion about the reliance on CVE identifiers for tracking and fixing vulnerabilities, with security researchers noting that many distributions rely on CVE assignments to initiate their backporting processes (OSS Security).

Additional resources


Source: This report was generated using AI

Related LibreOffice vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-63277HIGH8.5
  • LibreOffice logoLibreOffice
  • libreoffice-langpack-as
NoYesOct 05, 2026
CVE-2026-63270MEDIUM6.7
  • LibreOffice logoLibreOffice
  • libreoffice-langpack-cy
NoYesOct 05, 2026
CVE-2026-63269MEDIUM6.7
  • LibreOffice logoLibreOffice
  • libreoffice-langpack-hu
NoYesOct 05, 2026
CVE-2026-63268MEDIUM6.7
  • LibreOffice logoLibreOffice
  • libreoffice-langpack-ms
NoYesOct 05, 2026
CVE-2026-63267MEDIUM6.7
  • LibreOffice logoLibreOffice
  • libreoffice-help-uk
NoYesOct 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management