Every CVE Search/ Get API key

CVE-2026-42371

uriparser before 1.0.1 has numeric truncation in text range comparison, if an application accepts...

5.1 MediumFix available

CVE-2026-42371 is a medium vulnerability (CVSS 5.1) in Uriparser, published April 27, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.17%, the 6th percentile. Fixed in php85 8.5.6-r0.

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.17%Up 0.2 points since Apr 27, 2026
90%50%10%1%

What each source reports

CVE List Score used 5.1

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

Record
CVE-2026-42371
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-197
Updated
2026-11-02
EUVDEUVD-2026-25776 5.1

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

Record
EUVD-2026-25776
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-3f6w-rmcx-pgmh 5.1

uriparser before 1.0.1 has numeric truncation in text range comparison, if an application accepts...

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

Record
GHSA-3f6w-rmcx-pgmh
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-197
Updated
2026-11-02
NVD 5.1

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

Record
CVE-2026-42371
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-197
Updated
2026-11-02
OSVALPINE-CVE-2026-42371 5.1

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

Record
ALPINE-CVE-2026-42371
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSV 5.1

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

Record
CVE-2026-42371
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-197
Updated
2026-11-02
Show 15 moreShow less
OSVDEBIAN-CVE-2026-42371 5.1

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

Record
DEBIAN-CVE-2026-42371
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2026-2187 5.1

uriparser security update

The package is a strictly RFC 3986 compliant URI parsing library written in C89("ANSI C"). uriparser is cross-platform, fast, supports Unicode and is licensed under the New BSD license. There are a number of applications, libraries and hardware using uriparser, as well as bindings and 3rd-party wrappers. uriparser is packaged in major distributions.

Security Fix(es):

uriparser through 0.9.9 allows unbounded recursion and stack consumption, as demonstrated by ParseMustBeSegmentNzNc with large input containing many commas.(CVE-2025-67899)

uriparser before 1.0.1 has numeric truncation in text range comparison, if an application accepts URIs with a length in gigabytes.(CVE-2026-42371)

Record
OESA-2026-2187
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2026-2188 5.1

uriparser security update

The package is a strictly RFC 3986 compliant URI parsing library written in C89("ANSI C"). uriparser is cross-platform, fast, supports Unicode and is licensed under the New BSD license. There are a number of applications, libraries and hardware using uriparser, as well as bindings and 3rd-party wrappers. uriparser is packaged in major distributions.

Security Fix(es):

uriparser through 0.9.9 allows unbounded recursion and stack consumption, as demonstrated by ParseMustBeSegmentNzNc with large input containing many commas.(CVE-2025-67899)

uriparser before 1.0.1 has numeric truncation in text range comparison, if an application accepts URIs with a length in gigabytes.(CVE-2026-42371)

Record
OESA-2026-2188
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2026-2229 5.1

uriparser security update

The package is a strictly RFC 3986 compliant URI parsing library written in C89("ANSI C"). uriparser is cross-platform, fast, supports Unicode and is licensed under the New BSD license. There are a number of applications, libraries and hardware using uriparser, as well as bindings and 3rd-party wrappers. uriparser is packaged in major distributions.

Security Fix(es):

uriparser through 0.9.9 allows unbounded recursion and stack consumption, as demonstrated by ParseMustBeSegmentNzNc with large input containing many commas.(CVE-2025-67899)

uriparser before 1.0.1 has numeric truncation in text range comparison, if an application accepts URIs with a length in gigabytes.(CVE-2026-42371)

Record
OESA-2026-2229
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2026-2230 5.1

uriparser security update

The package is a strictly RFC 3986 compliant URI parsing library written in C89("ANSI C"). uriparser is cross-platform, fast, supports Unicode and is licensed under the New BSD license. There are a number of applications, libraries and hardware using uriparser, as well as bindings and 3rd-party wrappers. uriparser is packaged in major distributions.

Security Fix(es):

uriparser through 0.9.9 allows unbounded recursion and stack consumption, as demonstrated by ParseMustBeSegmentNzNc with large input containing many commas.(CVE-2025-67899)

uriparser before 1.0.1 has numeric truncation in text range comparison, if an application accepts URIs with a length in gigabytes.(CVE-2026-42371)

Record
OESA-2026-2230
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2026-2231 5.1

uriparser security update

The package is a strictly RFC 3986 compliant URI parsing library written in C89("ANSI C"). uriparser is cross-platform, fast, supports Unicode and is licensed under the New BSD license. There are a number of applications, libraries and hardware using uriparser, as well as bindings and 3rd-party wrappers. uriparser is packaged in major distributions.

Security Fix(es):

uriparser through 0.9.9 allows unbounded recursion and stack consumption, as demonstrated by ParseMustBeSegmentNzNc with large input containing many commas.(CVE-2025-67899)

uriparser before 1.0.1 has numeric truncation in text range comparison, if an application accepts URIs with a length in gigabytes.(CVE-2026-42371)

Record
OESA-2026-2231
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2026:12430 4.7

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Record
RHSA-2026:12430
CVSS 3.1
4.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-42371 5.1

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

Record
UBUNTU-CVE-2026-42371
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-84396 No score

CVE-2026-42371 affecting package uriparser 0.9.8-3

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

Record
AZL-84396
Updated
2026-11-02
OSVopenSUSE-SU-2026:10747-1 No score

php8-8.5.6-1.1 on GA media

These are all security issues fixed in the php8-8.5.6-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:10747-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:11049-1 No score

liburiparser1-1.0.2-1.1 on GA media

These are all security issues fixed in the liburiparser1-1.0.2-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11049-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:21297-1 No score

Security update for uriparser

This update for uriparser fixes the following issues

  • CVE-2026-42371: numeric truncation in text range comparison when an application accepts URIs with a length in gigabytes (bsc#1262999).
  • CVE-2026-44927: truncation of ptrdiff_t to int in various places (bsc#1264578).
  • CVE-2026-44928: function family EqualsUri can misclassify two unequal URIs as equal (bsc#1264579).
Record
openSUSE-SU-2026:21297-1
Updated
2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2026-42371 No score

CVE-2026-42371 in uriparser - Patched by Root

Root has patched CVE-2026-42371 in the uriparser package for Root:Debian:12. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-12-CVE-2026-42371
Updated
2026-11-02
OSVSUSE-SU-2026:22627-1 No score

Security update for uriparser

This update for uriparser fixes the following issues

  • CVE-2026-42371: numeric truncation in text range comparison when an application accepts URIs with a length in gigabytes (bsc#1262999).
  • CVE-2026-44927: truncation of ptrdiff_t to int in various places (bsc#1264578).
  • CVE-2026-44928: function family EqualsUri can misclassify two unequal URIs as equal (bsc#1264579).
Record
SUSE-SU-2026:22627-1
Updated
2026-11-02
OSVSUSE-SU-2026:3021-1 No score

Security update for uriparser

This update for uriparser fixes the following issues

  • CVE-2026-42371: numeric truncation in text range comparison when an application accepts URIs with a length in gigabytes (bsc#1262999).
  • CVE-2026-44927: truncation of ptrdiff_t to int in various places (bsc#1264578).
  • CVE-2026-44928: function family EqualsUri can misclassify two unequal URIs as equal (bsc#1264579).
Record
SUSE-SU-2026:3021-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
php85
Alpine:v3.23
before 8.5.6-r0
8.5.6-r0
php85
Alpine:v3.24
before 8.5.6-r0
8.5.6-r0
uriparser
Azure Linux:3
through 0.9.8-3 None known
uriparser
Debian:12
All versions, plus listed versions
0.9.7+dfsg-20.9.8+dfsg-10.9.8+dfsg-21.0.1+dfsg-1
None known
uriparser
Debian:13
All versions, plus listed versions
0.9.8+dfsg-21.0.1+dfsg-1
None known
uriparser
Debian:14
before 1.0.1+dfsg-1, plus listed versions
0.9.8+dfsg-2
1.0.1+dfsg-1
uriparser
openEuler:24.03-LTS
before 1.0.1-1.oe2403
1.0.1-1.oe2403
uriparser
openEuler:24.03-LTS-SP3
before 1.0.1-1.oe2403sp3
1.0.1-1.oe2403sp3
uriparser
openEuler:20.03-LTS-SP4
before 1.0.1-1.oe2003sp4
1.0.1-1.oe2003sp4
uriparser
openEuler:22.03-LTS-SP4
before 1.0.1-1.oe2203sp4
1.0.1-1.oe2203sp4
Show 23 moreShow less
Affected packages
PackageAffectedFixed
uriparser
openEuler:24.03-LTS-SP1
before 1.0.1-1.oe2403sp1
1.0.1-1.oe2403sp1
mingw32-uriparser
Red Hat:hummingbird:1
before 0:1.0.1-1.hum1
0:1.0.1-1.hum1
mingw64-uriparser
Red Hat:hummingbird:1
before 0:1.0.1-1.hum1
0:1.0.1-1.hum1
uriparser
Red Hat:hummingbird:1
before 0:1.0.1-1.hum1
0:1.0.1-1.hum1
uriparser-devel
Red Hat:hummingbird:1
before 0:1.0.1-1.hum1
0:1.0.1-1.hum1
uriparser-doc
Red Hat:hummingbird:1
before 0:1.0.1-1.hum1
0:1.0.1-1.hum1
uriparser
Root:Debian:12
before 0.9.7+dfsg-2.root.io.4
0.9.7+dfsg-2.root.io.40.9.7+dfsg-2.root.io.30.9.7+dfsg-2.aikido.5
rootio-uriparser
Root:Debian:12
before 0.9.7+dfsg-2.root.io.4
0.9.7+dfsg-2.root.io.40.9.7+dfsg-2.root.io.30.9.7+dfsg-2.aikido.5
uriparser
SUSE:Linux Enterprise Server 16.0
before 0.9.8-160000.5.1
0.9.8-160000.5.1
uriparser
SUSE:Linux Enterprise Server for SAP applications 16.0
before 0.9.8-160000.5.1
0.9.8-160000.5.1
uriparser
SUSE:Linux Enterprise Module for Package Hub 15 SP7
before 0.8.5-150000.3.14.1
0.8.5-150000.3.14.1
uriparser
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
0.7.5-10.7.5-1ubuntu10.7.5-1ubuntu20.7.5-1ubuntu2+esm10.7.5-1ubuntu2+esm20.7.5-1ubuntu2+esm30.7.5-1ubuntu2+esm40.7.5-1ubuntu2+esm5
None known
uriparser
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
0.8.2-10.8.3-10.8.4-10.8.4-1ubuntu0.16.04.1~esm20.8.4-1ubuntu0.16.04.1~esm30.8.4-1ubuntu0.16.04.1~esm40.8.4-1ubuntu0.16.04.1~esm5
None known
uriparser
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
0.8.4-10.8.4-1ubuntu0.18.04.1~esm20.8.4-1+deb9u2build0.18.04.10.8.4-1+deb9u2ubuntu0.10.8.4-1+deb9u2ubuntu0.1+esm10.8.4-1+deb9u2ubuntu0.1+esm2
None known
uriparser
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
0.9.3-20.9.3-2ubuntu0.1~esm20.9.3-2ubuntu0.1~esm30.9.3-2ubuntu0.1~esm4
None known
uriparser
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
0.9.4+dfsg-10.9.5+dfsg-20.9.6+dfsg-10.9.6+dfsg-1ubuntu0.1~esm10.9.6+dfsg-1ubuntu0.1~esm2
None known
uriparser
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
0.9.7+dfsg-20.9.7+dfsg-2build10.9.7+dfsg-2ubuntu0.1~esm10.9.7+dfsg-2ubuntu0.1~esm2
None known
uriparser
Ubuntu:25.10
All versions, plus listed versions
0.9.8+dfsg-2
None known
uriparser
Ubuntu:26.10
All versions, plus listed versions
0.9.8+dfsg-2build11.0.1+dfsg-1
None known
uriparser
Ubuntu:26.04:LTS
All versions, plus listed versions
0.9.8+dfsg-20.9.8+dfsg-2build1
None known
php8
openSUSE:Tumbleweed
before 8.5.6-1.1
8.5.6-1.1
uriparser
openSUSE:Tumbleweed
before 1.0.2-1.1
1.0.2-1.1
uriparser
openSUSE:Leap 16.0
before 0.9.8-160000.5.1
0.9.8-160000.5.1

History

History
WhenChangedSources
2026-11-03affected, aliases, referencesOSV
2026-11-02createdCVE List, EUVD, GitHub Advisories, NVD, OSV

References

Show 34 moreShow less
MoveEnter Open