Skip to main content

uriparser EUVDEUVD-2026-25776

| CVE-2026-42371 MEDIUM
Numeric Truncation Error (CWE-197)
2026-04-27 mitre
5.1
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.1 MEDIUM
AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE
MEDIUM
qualitative
Red Hat
4.7 MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

6
Patch released
Apr 27, 2026 - 18:57 nvd
Patch available
Patch available
Apr 27, 2026 - 08:01 EUVD
Analysis Generated
Apr 27, 2026 - 06:45 vuln.today
EUVD ID Assigned
Apr 27, 2026 - 06:30 euvd
EUVD-2026-25776
Analysis Generated
Apr 27, 2026 - 06:30 vuln.today
CVE Published
Apr 27, 2026 - 05:50 nvd
MEDIUM 5.1

DescriptionCVE.org

uriparser before 1.0.1 has numeric truncation in text range comparison, if an application accepts URIs with a length in gigabytes.

AnalysisAI

uriparser before 1.0.1 suffers a numeric truncation vulnerability in text range comparison that causes denial of service when processing URIs with gigabyte-scale lengths. The flaw occurs because internal range comparisons truncate large numeric values, allowing maliciously crafted oversized URIs to bypass length validation and trigger memory exhaustion or processing failures. Local attackers can exploit this via specially constructed input, though practical exploitation requires an application to accept and process URIs of exceptional size.

Technical ContextAI

uriparser is a C library for parsing and validating Uniform Resource Identifiers (URIs) according to RFC 3986. The vulnerability stems from numeric truncation in text range comparison functions (CWE-197), where signed or unsigned integer overflow occurs when comparing URI component lengths. When a URI component claims a length approaching or exceeding gigabytes, internal integer variables truncate, causing the range check to underflow or bypass validation. This allows oversized buffers or memory regions to be accessed as if they were within valid bounds. The affected product is identified by CPE cpe:2.3:a:uriparser:uriparser:*:*:*:*:*:*:*:* with fix available in version 1.0.1 per GitHub PR #298.

RemediationAI

Upgrade uriparser to version 1.0.1 or later. This release fixes the numeric truncation in range comparison by properly handling large integer values during URI length validation. Applications should verify they are using the patched version via package manager or dependency scanning tools. As a temporary compensating control, if upgrade is delayed, restrict maximum URI length at the application or HTTP server layer - for example, set LimitRequestLine in Apache or client_max_body_size in nginx to a reasonable value (typically 8 KB or less for standard URIs), preventing gigabyte-scale inputs from reaching the parser. This mitigation reduces exploitability but does not address the underlying flaw and should not replace patching. Additionally, applications should validate URI length independently before passing to uriparser, ensuring local checks prevent the edge case of truncated numeric comparisons.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Module for Package Hub 15 SP7 Fixed
SUSE Linux Enterprise Server 16.0 Fixed
SUSE Linux Enterprise Server 16.1 Fixed
SUSE Linux Enterprise Server for SAP applications 16.0 Fixed
SUSE Linux Enterprise Server for SAP applications 16.1 Fixed

Share

EUVD-2026-25776 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy