Skip to content

Libsoup: libsoup: heap buffer over-read via integer underflow in soup_filter_input_stream_read_until() #545680

Closed

Description

@nixpkgs-security-tracker

Nixpkgs security tracker issue

CVE-2026-66337

6.5 MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): None (N)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): Low (L)
  • Integrity (I): None (N)
  • Availability (A): Low (L)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): None (N)
  • Modified Confidentiality (MC): Low (L)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): None (N)
  • Modified Availability (MA): Low (L)
Libsoup: libsoup: heap buffer over-read via integer underflow in soup_filter_input_stream_read_until() A flaw was found in libsoup. An unsigned integer underflow in the soup_filter_input_stream_read_until() function causes a heap buffer over-read when parsing multipart HTTP responses. A malicious HTTP server can exploit this by sending a crafted multipart response, potentially causing the client application to crash or disclose sensitive heap memory.

References

Affected packages

Additional comment

https://gitlab.gnome.org/GNOME/libsoup/-/work_items/532

Next steps

Activity

  1. added
    1.severity: security
    on Jul 25, 2026
  2. binyaaminofficial commented on Jul 28, 2026

    @binyaaminofficial

    This tracking issue addresses a heap buffer over-read security vulnerability (CVE-2026-66337) in libsoup. The flaw stems from an unsigned integer underflow in soup_filter_input_stream_read_until() when parsing multipart HTTP responses, which could allow a malicious server to cause application crashes or heap memory disclosure.
    How to Fix
    Update the Package:
    Update your Nix channels or flake inputs once the patched libsoup update propagates into your active NixOS channel (e.g., nixos-unstable or nixos-26.05).
    Temporary Mitigation:
    Until a secure update is applied, try to avoid connecting to untrusted or potentially malicious HTTP servers that could exploit parser responses.

  3. added a commit that references this issue on Oct 3, 2026
  4. linked a pull request that will close this issue[26.05] libsoup_3: 3.6.6 -> 3.8.0 #569615on Oct 3, 2026
  5. added a commit that references this issue on Oct 4, 2026
  6. added a commit that references this issue on Oct 6, 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

    1.severity: security

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions