---
id: CVE-2026-77014
title: >-
  Libsoup: libsoup: integer truncation in sort_ranges() comparator causes silent
  omission of http range responses
summary: >-
  A flaw was found in libsoup's SoupServer HTTP Range header processing. The
  sort_ranges() comparator in soup-message-headers.c truncates a 64-bit
  subtraction result to 32-bit int, flipping the sign for range offsets
  differing by more than…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-197
vendor: Red Hat
product: libsoup3
affected:
  - libsoup3 (all versions)
  - libsoup (all versions)
  - gnome-clocks (all versions)
  - libsoup (all versions)
  - 'container-tools:rhel8/podman (all versions)'
  - libsoup (all versions)
  - libsoup (all versions)
  - podman (all versions)
  - podman (all versions)
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-08-25T14:23:45.467216Z'
published: '2026-08-20'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T00:45:02.316Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-77014'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-77014'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2520143'
    label: RHBZ#2520143
  - url: 'https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/550'
tags:
  - cve.org
epss: 0.00232
epssPercentile: 0.14213
ingestedAt: '2026-11-06T01:43:15.132Z'
---

## Overview

A flaw was found in libsoup's SoupServer HTTP Range header processing. The sort_ranges() comparator in soup-message-headers.c truncates a 64-bit subtraction result to 32-bit int, flipping the sign for range offsets differing by more than INT_MAX. This causes silent omission of requested byte ranges from HTTP 206 Partial Content responses on resources larger than approximately 2 GB.

## Affected

- `libsoup3 (all versions)`
- `libsoup (all versions)`
- `gnome-clocks (all versions)`
- `libsoup (all versions)`
- `container-tools:rhel8/podman (all versions)`
- `libsoup (all versions)`
- `libsoup (all versions)`
- `podman (all versions)`
- `podman (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

No mitigation is available for this vulnerability.
