lopdf
4 known CVEs (3 high), with the versions each affects and the releases that fix them.
- Latest release
- 0.47.0 (Nov 4, 2026): affected by 2 advisories
- Newest unaffected release
- Every release is affected by at least one advisory
- Downloads on affected versions
- 100% of lopdf downloads in the last 90 days (14.8M of 14.8M) were on a version affected by at least one advisory
Advisories 4
- GHSA-H934-WJJQ-GPM9lopdf 0.47.0 hangs and exhausts memory in Document::get_outlines when outline items' /Next entries form a cycleAffected: versions 0.47.0.No fix released. The latest release, 0.47.0, is still affected.0.9% of lopdf downloads in the last 90 days were affected versions (128.4K).
- GHSA-4597-5X94-X3XGlopdf stack overflow via a chain of stream /Length referencesAffected: through 0.47.0.No fix released. The latest release, 0.47.0, is still affected.100% of lopdf downloads in the last 90 days were affected versions (14.8M).
- GHSA-6FJ4-RCR3-R7RRlopdf has a stack overflow via deeply nested PDF objectsAffected: fixed in 0.42.0.Fixed in 0.42.0 (released Jun 24, 2026, 114 days before disclosure).The latest release, 0.47.0, is not affected.
- RUSTSEC-2026-0187Stack overflow in lopdf via deeply nested PDF objectsAffected: fixed in 0.42.0.Fixed in 0.42.0 (released Jun 24, 2026, 3 days after disclosure).The latest release, 0.47.0, is not affected.
Version timeline
- GHSA-H934-WJJQ-GPM9Affects 0.47.0 (through the newest release)
- GHSA-4597-5X94-X3XGAffects 0.1.0 to 0.47.0 (through the newest release)
- GHSA-6FJ4-RCR3-R7RRAffects 0.1.0 to 0.41.0 (0.42.0 is outside it)
- RUSTSEC-2026-0187Affects 0.1.0 to 0.41.0 (0.42.0 is outside it)