# lopdf (crates.io) CVEs

4 known CVEs (3 high), with the versions each affects and the releases that fix them.

## At a glance

- 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
- Releases: 57 since 0.1.0 (Dec 23, 2016)
- Registry: https://crates.io/crates/lopdf
- Releases read: Nov 16, 2026

## Version timeline

Affected versions per advisory, in version order:

- GHSA-H934-WJJQ-GPM9: 0.47.0 (through the newest release)
- GHSA-4597-5X94-X3XG: 0.1.0 to 0.47.0 (through the newest release)
- GHSA-6FJ4-RCR3-R7RR: 0.1.0 to 0.41.0 (0.42.0 is outside it)
- RUSTSEC-2026-0187: 0.1.0 to 0.41.0 (0.42.0 is outside it)

## Advisories (4)

### [GHSA-H934-WJJQ-GPM9](https://cve.now/GHSA-H934-WJJQ-GPM9): lopdf 0.47.0 hangs and exhausts memory in Document::get\_outlines when outline items' /Next entries form a cycle

- Severity: High 7.5
- Published: Nov 19, 2026
- Affected: 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-X3XG](https://cve.now/GHSA-4597-5X94-X3XG): lopdf stack overflow via a chain of stream /Length references

- Severity: High 7.5
- Published: Nov 12, 2026
- Affected: 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-R7RR](https://cve.now/GHSA-6FJ4-RCR3-R7RR): lopdf has a stack overflow via deeply nested PDF objects

- Severity: High
- Published: Oct 16, 2026
- Affected: 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-0187](https://cve.now/RUSTSEC-2026-0187): Stack overflow in lopdf via deeply nested PDF objects

- Severity: Unrated
- Published: Jun 21, 2026
- Affected: 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.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/crates.io/lopdf
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
