cve.bz

CVE-2025-71436 librdf raptor rdf syntax library: Heap-based Buffer Overflow

7.1 highEPSS 0.5%

High (7.1) in librdf raptor rdf syntax library. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
Raptor RDF Syntax Library from 2.0.15 through 2.0.16 contains a heap-based buffer overflow vulnerability in raptor_new_term_from_counted_literal() caused by truncating language tag length to an unsigned char. Attackers can supply Turtle, TriG, N-Triples or N-Quads documents with language tags of 256 bytes or longer to corrupt heap memory, crash applications, and possibly execute code.

Severity

CVSS 4.0

7.1 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

7.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
EPSS
0.5% (unchanged from 0.5% a week ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-10-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-71436 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-71436?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-71436?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-71436 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • librdf:raptor rdf syntax library

Versions

From the CNA's record in the CVE List.

ProductAffected
librdf Raptor RDF Syntax Libraryfrom 2.0.15 through 2.0.16

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14raptor2no fix listedDEBIAN-CVE-2025-71436
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 4 moreraptor2no fix listedUBUNTU-CVE-2025-71436
Red Hatenterprise_linux:8::appstreamraptor2, raptor2-debuginfo, raptor2-debugsource0:2.0.15-18.el8_10RHSA-2026:94519
Red Hatenterprise_linux:8::crbraptor2-devel, raptor2-debuginfo, raptor2-debugsource0:2.0.15-18.el8_10RHSA-2026:94519
Red Hatenterprise_linux:9::appstreamraptor2, raptor2-debuginfo, raptor2-debugsource0:2.0.15-32.el9_9.1RHSA-2026:98509
Red Hatenterprise_linux:9::crbraptor2-devel, raptor2-debuginfo, raptor2-debugsource0:2.0.15-32.el9_9.1RHSA-2026:98509
Red Hatrhel_eus:9.8::appstreamraptor2, raptor2-debuginfo, raptor2-debugsource0:2.0.15-32.el9_8.1RHSA-2026:99116
Red Hatrhel_eus:9.8::crbraptor2-devel, raptor2-debuginfo, raptor2-debugsource0:2.0.15-32.el9_8.1RHSA-2026:99116
AlmaLinux8raptor2, raptor2-devel2.0.15-18.el8_10ALSA-2026:94519
Rocky Linux8raptor20:2.0.15-18.el8_10RLSA-2026:94519
Rocky Linux9raptor2, raptor2-devel, raptor2-debuginfo and 1 more0:2.0.15-32.el9_9.1RLSA-2026:98509
Azure Linux3raptor2no fix listedAZL-112723
Alpaquita23, 25, streamraptor2no fix listedBELL-CVE-2025-71436

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat has rated this vulnerability as having an Important security impact. Exploitation requires an application using an affected raptor2 library to process attacker-controlled RDF data. Successful exploitation can terminate the application and may allow code execution with the privileges of that application. Exposure depends on whether the application accepts untrusted RDF input.

Red Hat's mitigation

To reduce exposure on affected systems, prevent applications using raptor2 from processing RDF documents from untrusted sources. Where applicable, temporarily disable automated RDF imports or restrict access to RDF ingestion interfaces to trusted users and data sources. These measures are effective only if they prevent attacker-controlled RDF data from reaching the affected parser.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8raptor2-0:2.0.15-18.el8_10Fixed 2026-11-03RHSA-2026:94519
Red Hat Enterprise Linux 9raptor2-0:2.0.15-32.el9_9.1Fixed 2026-11-11RHSA-2026:98509
Red Hat Enterprise Linux 6raptorOut of support scope
Red Hat Enterprise Linux 7raptor2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-71436.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON