Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 10, 2026

Bumps smalot/pdfparser from 2.12.2 to 2.12.3.

Release notes

Sourced from smalot/pdfparser's releases.

v2.12.3

Security fix and refinements

Fix for potential Denial of Service vulnerability

Summary: The fix prevents the RawDataParser.php‎ to enter an endless loop under certain circumstances which would lead to memory exhaustion.

Details: When parsing a specifically crafted, malformed PDF file, the low-level RawDataParser enters a state that leads to uncontrolled memory allocation. This continues until the PHP script exhausts its memory_limit and crashes with a fatal error. An attacker can leverage this vulnerability by submitting a small, malicious PDF file to any service using this library, causing the server process to crash and become unavailable.

Thank you Yang LUO (https://github.com/N0zoM1z0) for reporting this and the provided details on the matter. smalot/pdfparser#787 contains further information.

Refinement to improve extracted texts

Ignore Form as well as Image XObjects when assembling the text array for a PDFObject. by @​rupertj in smalot/pdfparser#783


Full Changelog: smalot/pdfparser@v2.12.2...v2.12.3

Commits
  • 61c9bca Fix memory exhaustion caused by circular references in PDF xref chains (#787)
  • 6b52c6b Ignore Form as well as Image XObjects when assembling the text array for a PD...
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [smalot/pdfparser](https://github.com/smalot/pdfparser) from 2.12.2 to 2.12.3.
- [Release notes](https://github.com/smalot/pdfparser/releases)
- [Commits](smalot/pdfparser@v2.12.2...v2.12.3)

---
updated-dependencies:
- dependency-name: smalot/pdfparser
  dependency-version: 2.12.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies php Pull requests that update php code labels Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant