CVE-2026-12548 — Libsoup: heap out-of-bounds read in libsoup due to integer truncation

A heap out-of-bounds read flaw was found in libsoup. When parsing multipart HTTP messages, an integer type mismatch between the caller and soup_headers_parse() can cause the length parameter to be incorrectly truncated, leading to a heap buffer over-read. A remote attacker could use this flaw to crash an application using libsoup or potentially disclose heap memory contents.

Published

CVSS 3.1 score 4.2 out of 10.

Reported versions and fixes

  • Source-reported product
  • Source-reported product — Reported version range cpe:2.3:a:gnome:libsoup:-:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*

Source evidence