raptor_xml_writer_start_element_common in raptor_xml_writer.c in Raptor RDF Syntax Library 2.0.15 miscalculates the maximum nspace declarati
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).
- Published
- Nov 6, 2020
- Updated
- Jun 16, 2026
- EPSS
- 3.1% · 87th percentile
- CWE
- CWE-787
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
29
Monitor
Low priority for now.
- CVSS
- 28 / 40 · 7.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.1%
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| librdf | raptor rdf syntax library | cpe:2.3:a:librdf:raptor_rdf_syntax_library |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- debian debian linux9.0
- fedoraproject fedora31
- fedoraproject fedora32
- fedoraproject fedora33
- librdf raptor rdf syntax library2.0.15
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | raptor2 | before 2.0.15-16.el8 | 2.0.15-16.el8 |
| AlmaLinux:8 | raptor2-devel | before 2.0.15-16.el8 | 2.0.15-16.el8 |
| Debian:10 | raptor2 | before 2.0.14-1.1~deb10u1 | 2.0.14-1.1~deb10u1 |
| Debian:12 | raptor2 | before 2.0.14-1.1 | 2.0.14-1.1 |
| Debian:9 | raptor2 | before 2.0.14-1+deb9u1 | 2.0.14-1+deb9u1 |
| openSUSE:Leap 15.1 | raptor | before 2.0.15-lp151.3.3.1 | 2.0.15-lp151.3.3.1 |
| openSUSE:Leap 15.2 | raptor | before 2.0.15-lp152.4.3.1 | 2.0.15-lp152.4.3.1 |
| Red Hat:enterprise_linux:8::appstream | raptor2 | before 0:2.0.15-16.el8 | 0:2.0.15-16.el8 |
| Red Hat:enterprise_linux:8::appstream | raptor2-debuginfo | before 0:2.0.15-16.el8 | 0:2.0.15-16.el8 |
| Red Hat:enterprise_linux:8::appstream | raptor2-debugsource | before 0:2.0.15-16.el8 | 0:2.0.15-16.el8 |
| Red Hat:enterprise_linux:8::crb | raptor2-devel | before 0:2.0.15-16.el8 | 0:2.0.15-16.el8 |
| Rocky Linux:8 | raptor2 | before 0:2.0.15-16.el8 | 0:2.0.15-16.el8 |
| SUSE:HPE Helion OpenStack 8 | raptor | before 2.0.15-5.3.1 | 2.0.15-5.3.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP1 | raptor | before 2.0.15-3.3.1 | 2.0.15-3.3.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP2 | raptor | before 2.0.15-9.3.1 | 2.0.15-9.3.1 |
Same product
librdf: all recordsOther highest-scoring records for the same primary product.
- CVE-2020-25713A malformed input file can lead to a segfault due to an out of bounds array access in raptor_xml_writer_start_element_common.27Monitor
- CVE-2024-57823In Raptor RDF Syntax Library through 2.0.16, there is an integer underflow when normalizing a URI with the turtle parser in raptor_uri_norma22Monitor
- CVE-2024-57822In Raptor RDF Syntax Library through 2.0.16, there is a heap-based buffer over-read when parsing triples with the nquads parser in raptor_nt22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:raptor2 | 2.0.15-16.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:raptor2-devel | 2.0.15-16.el8 · AlmaLinux:8 | Package registry (OSV) |
| debian:raptor2 | 2.0.14-1.1 · Debian:12 | Package registry (OSV) |
| opensuse:raptor | 2.0.15-lp152.4.3.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| red hat:raptor2 | 0:2.0.15-16.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:raptor2-debuginfo | 0:2.0.15-16.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:raptor2-debugsource | 0:2.0.15-16.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:raptor2-devel | 0:2.0.15-16.el8 · Red Hat:enterprise_linux:8::crb | Package registry (OSV) |
| rocky linux:raptor2 | 0:2.0.15-16.el8 · Rocky Linux:8 | Package registry (OSV) |
| suse:raptor | 2.0.15-3.3.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- low · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- Low
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.openwall.com/lists/oss-security/2020/11/13/1
- www.openwall.com/lists/oss-security/2020/11/13/2
- www.openwall.com/lists/oss-security/2020/11/14/2
- www.openwall.com/lists/oss-security/2020/11/16/2
- www.openwall.com/lists/oss-security/2020/11/16/3
- github.com/LibreOffice/core/blob/master/external/redland/raptor/0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch.1
- lists.debian.org/debian-lts-announce/2020/11/msg00012.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RD67AVORGQXORPWNYYUHCH6YPPT6CI4O/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVHFYQDMVEBICIL4DBAGRRLPUR4QYWMV/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WDZRNM45VPTQF2BKRWG4YRCHJGQ2L7NS/
- www.debian.org/security/2020/dsa-4785
Vendor advisories and official records. Exploit/PoC links are deliberately left out.