All reports
High

raptor2: raptor2: arbitrary code execution via heap-based buffer overflow in language tag handling

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-71436

Probability of exploitation in the next 30 days: 0.44%

FIRST EPSS · 2026-11-22

Description

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.

A flaw was found in raptor2. The library improperly handles language tag lengths when parsing RDF (Resource Description Framework) documents, truncating lengths that exceed 255 bytes. A remote attacker can exploit this vulnerability by supplying a specially crafted document with an overly long language tag to trigger a heap-based buffer overflow. This flaw may allow an attacker to execute arbitrary code or crash the application, causing a Denial of Service (DoS).