Bug 2506949 (CVE-2026-66337) - CVE-2026-66337 libsoup: libsoup: Heap buffer over-read via integer underflow in soup_filter_input_stream_read_until()
Summary: CVE-2026-66337 libsoup: libsoup: Heap buffer over-read via integer underflow ...
Keywords:
Status: NEW
Alias: CVE-2026-66337
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-24 22:29 UTC by OSIDB Bzimport
Modified: 2026-07-24 22:56 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-24 22:29:33 UTC
An unsigned integer underflow in soup_filter_input_stream_read_until() in libsoup/soup-filter-input-stream.c causes a heap buffer over-read when parsing multipart HTTP responses. When include_boundary is FALSE and the internal buffer contains fewer bytes than the boundary string length, the subtraction of two unsigned values wraps to a very large number, causing the boundary scan loop to read beyond the heap allocation. A malicious HTTP server can trigger this against any libsoup client using SoupMultipartInputStream. This is related to but distinct from CVE-2026-1761 — Red Hat's downstream fix for that CVE does not resolve this issue.

Upstream report: https://gitlab.gnome.org/GNOME/libsoup/-/work_items/532
PSIRTSUPT: https://redhat.atlassian.net/browse/PSIRTSUPT-17666


Note You need to log in before you can comment on or make changes to this bug.