Skip to content

Update h2 to >=0.4.16 for actix-http #4199

Open

Description

@dvzrv

Your issue may already be reported! Please search on the Actix Web issue tracker before creating one.

Expected Behavior

Hi! 👋

I'm using actix-http in a test setup for one of my projects (cc @wiktor-k).
Due to our CI we noticed, that the h2 version currently in use in actix-http seems to be vulnerable to GHSA-q83h-524g-xf6h

I unfortunately know nothing about your code base, so I have no idea how hard it is for you to port to a new version of h2.
As such, this ticket is of course more of a heads up! :)

Thanks for providing this project! 🚀

Current Behavior

h2 0.3 is used.
h2 0.4 could/should probably be used.

Possible Solution

Upgrade/port to h2 >=0.4.16

Steps to Reproduce (for bugs)

  1. run e.g. cargo-deny on a project using actix-http

Context

Personally, this issue is not affecting me at all, as our project does not use the http2 feature.
However, the lock file still contains the h2 0.3 dependency.
Other projects, using the http2 feature of actix-http may be affected.

Your Environment

  • Rust Version (I.e, output of rustc -V): rustc 1.97.1 (8bab26f4f 2026-07-14)
  • Actix Web Version: actix-web 4.14.0; actix-http 3.13.0

Activity

  1. mantissaman commented on Aug 19, 2026

    @mantissaman

    Please can this be prioritised?

  2. JohnTitor commented on Aug 19, 2026

    @JohnTitor
    Member

    Note that we cannot do a quick bump as it brings the type difference, and uses http v1 while we use http 0.2 (see #3384 and related discussion for context.

  3. robjtede commented on Aug 19, 2026

    @robjtede
    Member

    I've been looking into a backport of the h2 fix.

  4. added a commit that references this issue on Aug 20, 2026
  5. Sruhvx-jpg commented on Aug 23, 2026

    @Sruhvx-jpg
    Member

    @robjtede
    I Submitted the 0.3.x backport PR to hyperium/h2: hyperium/h2#948

    Bundled Sean's latest design updates from master as well - separate empty frame tracking, EOS exemptions, and auto-scaling the budget to the connection window so legitimate streams don't get choked .

  6. hce commented on Aug 31, 2026

    @hce

    Why is http2 mandatory when compiling actix-http with openssl? I need the TLS/openssl support but HTTP1 would suffice for me, and I'm sure I'm not the only one. Any reason not to decouple http2 support from the TLS feature?

  7. Sruhvx-jpg commented on Sep 8, 2026

    @Sruhvx-jpg
    Member

    @robjtede hey the backport was rejected as the maintainer is unable to allocate time for it, whats u call then?

  8. AverageHelper commented on Sep 12, 2026

    @AverageHelper

    Another one for the list of good reasons for a breaking version bump? (ref: #3208 (comment))

  9. added this to the actix-web v5.0 milestone on Sep 13, 2026
  10. added theissue type on Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions