Skip to content

security: remediate GO-2026-6115 in github.com/ledongthuc/pdf #928

Description

@jatmn

CI currently fails make vulncheck on reachable calls from internal/imageinput/pdf.go to github.com/ledongthuc/pdf (pdf.NewReader and Reader.GetPlainText). The Go vulnerability database reports no fixed version for this fork, so a dependency version bump cannot remediate it. Replace the PDF text-extraction implementation with a maintained non-affected alternative, preserve extraction/page-count behavior, add hostile-PDF resource-limit coverage, and verify make vulncheck is clean.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions