Arbitrary Code Injection Affecting rdflib package, versions <4.2.2-2


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
2.26% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-RDFLIB-11766575
  • published10 Aug 2025
  • disclosed9 Feb 2019

Introduced: 9 Feb 2019

CVE-2019-7653  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Debian:14 rdflib to version 4.2.2-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rdflib package and not the rdflib package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

The Debian python-rdflib-tools 4.2.2-1 package for RDFLib 4.2.2 has CLI tools that can load Python modules from the current working directory, allowing code injection, because "python -m" looks in this directory, as demonstrated by rdf2dot. This issue is specific to use of the debian/scripts directory.

CVSS Base Scores

version 3.1