Security mailing lists by PureSourceCode

CVE-2026-23907

MEDIUM 5.3CVSS 3.1

Apache PDFBox has Path Traversal through PDComplexFileSpecification.getFilename() function

This issue affects the
ExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.35, from 3.0.0 through 3.0.6.

The ExtractEmbeddedFiles example contains a path traversal vulnerability (CWE-22) because
the filename that is obtained from
PDComplexFileSpecification.getFilename() is appended to the extraction path.

Users who have copied this example into their production code should
review it to ensure that the extraction path is acceptable. The example
has been changed accordingly, now the initial path and the extraction
paths are converted into canonical paths and it is verified that
extraction path contains the initial path. The documentation has also
been adjusted.

Published
10 Mar 2026
Last modified
17 Sep 2026
Assigned by
security@apache.org
NVD status
Analyzed
Weakness
CWE-22
Also known as
GHSA-jjwr-xmw6-gf78
Sources
NVDJSONOSV GHSA-jjwr-xmw6-gf78JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache pdfbox-examples
cpe:2.3:a:apache:pdfbox-examples:*:*:*:*:*:*:*:*
>= 2.0.24, <= 2.0.36
NVD apache pdfbox-examples
cpe:2.3:a:apache:pdfbox-examples:*:*:*:*:*:*:*:*
>= 3.0.0, <= 3.0.7
OSV Maven org.apache.pdfbox:pdfbox-examples >= 2.0.24, < 3.0.7 3.0.7

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 10 Mar 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.