Buffer overflow in Librdf Raptor Rdf Syntax Library
CVE-2017-18926
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).
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H.
EPSS exploit prediction
EPSS 0.030, 87.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Librdf Raptor Rdf Syntax Library — versions 2.0.15
- Debian Linux — versions 9.0, 10.0
- Fedoraproject Fedora — versions 31, 32, 33
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2017-18926). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.openwall.com/lists/oss-security/2017/06/07/1 (Exploit, Patch, Mailing List, Third Party Advisory)
- github.com/LibreOffice/core/blob/master/external/redland/raptor/0001-Calcualte-… (Patch, Third Party Advisory)
- [debian-lts-announce] 20201107 [SECURITY] [DLA 2438-1] raptor2 security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-4785 (vendor-advisory, Third Party Advisory)
- [oss-security] 20201113 Buffer Overflow in raptor widely unfixed in Linux distros (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20201113 Re: Buffer Overflow in raptor widely unfixed in Linux distros (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20201114 Re: Buffer Overflow in raptor widely unfixed in Linux distros (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20201116 Re: Buffer Overflow in raptor widely unfixed in Linux distros (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20201116 Re: Buffer Overflow in raptor widely unfixed in Linux distros (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2020-b15dd44972 (vendor-advisory)