Skip to content

Conversation

@miurahr
Copy link
Owner

@miurahr miurahr commented Nov 10, 2025

Pull request type

select from below

  • security

Which ticket is resolved?

What does this PR change?

Other information

- apply output_buffer_limit argument for decompressor.process() method
@miurahr
Copy link
Owner Author

miurahr commented Nov 10, 2025

CI failed because brotlicffi does not bump [email protected] yet.
await python-hyper/brotlicffi#207

@xavier2k6
Copy link
Contributor

xavier2k6 commented Nov 26, 2025

CI failed because brotlicffi does not bump [email protected] yet.

Merged!


1.2.0.0 (2025-11-21)

  • Upgraded libbrotli to v1.2.0.
  • Added output_buffer_limit parameter to Decompressor.decompress() and
    Decompressor.process() methods to allow mitigation of unexpectedly large
    output. This addresses potential security concerns where maliciously crafted
    compressed data could result in excessive memory usage during decompression.

https://github.com/python-hyper/brotlicffi/blob/v1.2.0.0/HISTORY.rst

@coveralls
Copy link

coveralls commented Nov 27, 2025

Coverage Status

coverage: 87.79%. remained the same
when pulling c327e57 on topic/miurahr/security/brotli-1-2-0
into ccf0def on master.

@miurahr miurahr merged commit 19c9b0a into master Nov 29, 2025
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants