Skip to content

build(deps): Bump smalot/pdfparser from 2.12.1 to 2.12.4#38

Merged
vitormattos merged 2 commits intostable33from
dependabot/composer/stable33/smalot/pdfparser-2.12.4
Apr 9, 2026
Merged

build(deps): Bump smalot/pdfparser from 2.12.1 to 2.12.4#38
vitormattos merged 2 commits intostable33from
dependabot/composer/stable33/smalot/pdfparser-2.12.4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 9, 2026

Bumps smalot/pdfparser from 2.12.1 to 2.12.4.

Release notes

Sourced from smalot/pdfparser's releases.

v2.12.4

Bugfix release

Refining a change in the latest release:

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

When assembling the text array for an object, skip Forms that don't contain any text, instead of all Forms. by @​rupertj in smalot/pdfparser#789

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

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

v2.12.2

What's Changed

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

Commits
  • 028d7cc When assembling the text array for an object, skip Forms that don't contain a...
  • 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...
  • 370b7e9 Include PHP 8.5 in CI + Fixes deprecations (#779)
  • 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 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.1 to 2.12.4.
- [Release notes](https://github.com/smalot/pdfparser/releases)
- [Commits](smalot/pdfparser@v2.12.1...v2.12.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 9, 2026

Labels

The following labels could not be found: stable33. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 9, 2026
@dependabot dependabot bot requested a review from vitormattos as a code owner April 9, 2026 12:58
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 9, 2026
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos merged commit 6cf01d1 into stable33 Apr 9, 2026
6 checks passed
@vitormattos vitormattos deleted the dependabot/composer/stable33/smalot/pdfparser-2.12.4 branch April 9, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant