CWE
119
Advisory Published
Updated

REDHAT-BUG-1896120: Buffer Overflow

First published: Mon Nov 09 2020(Updated: )

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). Reference: <a href="https://www.openwall.com/lists/oss-security/2017/06/07/1">https://www.openwall.com/lists/oss-security/2017/06/07/1</a> Upstream patch: <a href="https://github.com/LibreOffice/core/blob/master/external/redland/raptor/0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch.1">https://github.com/LibreOffice/core/blob/master/external/redland/raptor/0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch.1</a>

Affected SoftwareAffected VersionHow to fix
Redland Libraptor

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-1896120?

    REDHAT-BUG-1896120 is classified as a high severity vulnerability due to the potential for heap-based buffer overflows.

  • How do I fix REDHAT-BUG-1896120?

    To fix REDHAT-BUG-1896120, upgrade to a patched version of the Raptor RDF Syntax Library that addresses the nspace declaration calculation issue.

  • What causes the vulnerability REDHAT-BUG-1896120?

    The vulnerability REDHAT-BUG-1896120 is caused by miscalculation of the maximum namespace declarations for the XML writer in the Raptor RDF Syntax Library.

  • What are the potential impacts of REDHAT-BUG-1896120?

    The potential impacts of REDHAT-BUG-1896120 include application crashes and potential exploitation leading to arbitrary code execution.

  • Is REDHAT-BUG-1896120 present in all versions of the Raptor RDF Syntax Library?

    REDHAT-BUG-1896120 is specifically associated with version 2.0.15 of the Raptor RDF Syntax Library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203