CVE-2026-5720

miniupnpd Integer Underflow SOAPAction Header Parsing

Published Apr 17, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
miniupnpd contains an integer underflow vulnerability in SOAPAction header parsing that allows remote attackers to cause a denial of service or information disclosure by sending a malformed SOAPAction header with a single quote. Attackers can trigger an out-of-bounds memory read by exploiting improper length validation in ParseHttpHeaders(), where the parsed length underflows to a large unsigned value when passed to memchr(), causing the process to scan memory far beyond the allocated HTTP request buffer.

Analysis

AI-generated

Technical impact

The vulnerability is an integer underflow in SOAPAction header parsing within the ParseHttpHeaders() routine of miniupnpd. When a specially crafted SOAPAction header containing a single quote is processed, the measured length underflows, yielding a large unsigned value that is used by memchr(). This causes the routine to scan far beyond the allocated HTTP request buffer, potentially leading to an out‑of‑bounds read. The resulting denial of service or accidental disclosure of memory contents demonstrates the severity of the flaw, consistent with CWE‑125 (Out‑of‑Bounds Read) and CWE‑191 (Signed/Unsigned Conversion Errors).

Affected Systems

Products affected by this vulnerability are the miniupnp project’s miniupnpd daemon. No specific version information is provided in the CNA data, so all installed builds of miniupnpd remain potentially vulnerable until the patch is applied.

Risk and Exploitability

The CVSS score of 7.1 indicates a high impact, and the lack of EPSS data implies no quantifiable probability yet. Because the fault is triggered by a malformed HTTP header, an attacker only needs network access to target a running miniupnpd instance; no additional privileges are required. The flaw is not catalogued by CISA KEV at present, but the potential for remote denial of service and information disclosure warrants prompt attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest miniupnpd release that incorporates the fix for the integer underflow in ParseHttpHeaders().
  • If an immediate upgrade is not possible, replace the vulnerable ParseHttpHeaders() function with the patched code from the commit referenced in the advisories.
  • Verify that the SOAPAction header is now validated correctly and that out‑of‑bounds reads can no longer occur.

Generated by OpenCVE AI on April 18, 2026 at 08:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8731-1 MiniUPnPd vulnerability
History
Type Values Removed Values Added
CPEs cpe:2.3:a:miniupnp_project:miniupnpd:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Miniupnp Project
Miniupnp Project miniupnpd
Vendors & Products Miniupnp Project
Miniupnp Project miniupnpd
Type Values Removed Values Added
Description miniupnpd contains an integer underflow vulnerability in SOAPAction header parsing that allows remote attackers to cause a denial of service or information disclosure by sending a malformed SOAPAction header with a single quote. Attackers can trigger an out-of-bounds memory read by exploiting improper length validation in ParseHttpHeaders(), where the parsed length underflows to a large unsigned value when passed to memchr(), causing the process to scan memory far beyond the allocated HTTP request buffer.
Title miniupnpd Integer Underflow SOAPAction Header Parsing
Weaknesses CWE-125
CWE-191
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-191

    Integer Underflow (Wrap or Wraparound)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 14, 2026, 10:03 PM
Reserved
Apr 6, 2026, 8:18 PM
Status
Analyzed
Published
Apr 17, 2026, 10:16 PM
Modified
Oct 26, 2026, 9:10 PM