CVE-2026-42371
uriparser before 1.0.1 has numeric truncation in text range comparison, if an application accepts...
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
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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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_ttointin various places (bsc#1264578). - CVE-2026-44928: function family
EqualsUrican 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_ttointin various places (bsc#1264578). - CVE-2026-44928: function family
EqualsUrican 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_ttointin various places (bsc#1264578). - CVE-2026-44928: function family
EqualsUrican misclassify two unequal URIs as equal (bsc#1264579).
- Record
SUSE-SU-2026:3021-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
php85Alpine:v3.23 |
before 8.5.6-r0 | 8.5.6-r0 |
php85Alpine:v3.24 |
before 8.5.6-r0 | 8.5.6-r0 |
uriparserAzure Linux:3 |
through 0.9.8-3 | None known |
uriparserDebian: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 |
uriparserDebian:13 |
All versions, plus listed versions 0.9.8+dfsg-21.0.1+dfsg-1 |
None known |
uriparserDebian:14 |
before 1.0.1+dfsg-1, plus listed versions 0.9.8+dfsg-2 |
1.0.1+dfsg-1 |
uriparseropenEuler:24.03-LTS |
before 1.0.1-1.oe2403 | 1.0.1-1.oe2403 |
uriparseropenEuler:24.03-LTS-SP3 |
before 1.0.1-1.oe2403sp3 | 1.0.1-1.oe2403sp3 |
uriparseropenEuler:20.03-LTS-SP4 |
before 1.0.1-1.oe2003sp4 | 1.0.1-1.oe2003sp4 |
uriparseropenEuler:22.03-LTS-SP4 |
before 1.0.1-1.oe2203sp4 | 1.0.1-1.oe2203sp4 |
Show 23 moreShow less
| Package | Affected | Fixed |
|---|---|---|
uriparseropenEuler:24.03-LTS-SP1 |
before 1.0.1-1.oe2403sp1 | 1.0.1-1.oe2403sp1 |
mingw32-uriparserRed Hat:hummingbird:1 |
before 0:1.0.1-1.hum1 | 0:1.0.1-1.hum1 |
mingw64-uriparserRed Hat:hummingbird:1 |
before 0:1.0.1-1.hum1 | 0:1.0.1-1.hum1 |
uriparserRed Hat:hummingbird:1 |
before 0:1.0.1-1.hum1 | 0:1.0.1-1.hum1 |
uriparser-develRed Hat:hummingbird:1 |
before 0:1.0.1-1.hum1 | 0:1.0.1-1.hum1 |
uriparser-docRed Hat:hummingbird:1 |
before 0:1.0.1-1.hum1 | 0:1.0.1-1.hum1 |
uriparserRoot: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-uriparserRoot: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 |
uriparserSUSE:Linux Enterprise Server 16.0 |
before 0.9.8-160000.5.1 | 0.9.8-160000.5.1 |
uriparserSUSE:Linux Enterprise Server for SAP applications 16.0 |
before 0.9.8-160000.5.1 | 0.9.8-160000.5.1 |
uriparserSUSE:Linux Enterprise Module for Package Hub 15 SP7 |
before 0.8.5-150000.3.14.1 | 0.8.5-150000.3.14.1 |
uriparserUbuntu: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 |
uriparserUbuntu: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 |
uriparserUbuntu: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 |
uriparserUbuntu: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 |
uriparserUbuntu: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 |
uriparserUbuntu: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 |
uriparserUbuntu:25.10 |
All versions, plus listed versions 0.9.8+dfsg-2 |
None known |
uriparserUbuntu:26.10 |
All versions, plus listed versions 0.9.8+dfsg-2build11.0.1+dfsg-1 |
None known |
uriparserUbuntu:26.04:LTS |
All versions, plus listed versions 0.9.8+dfsg-20.9.8+dfsg-2build1 |
None known |
php8openSUSE:Tumbleweed |
before 8.5.6-1.1 | 8.5.6-1.1 |
uriparseropenSUSE:Tumbleweed |
before 1.0.2-1.1 | 1.0.2-1.1 |
uriparseropenSUSE:Leap 16.0 |
before 0.9.8-160000.5.1 | 0.9.8-160000.5.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | affected, aliases, references | OSV |
| 2026-11-02 | created | CVE List, EUVD, GitHub Advisories, NVD, OSV |
References
github.com/uriparser/uriparser/pull/298
uriparser.github.io
openwall.com/lists/oss-security/2026/04/27/2
nvd.nist.gov/vuln/detail/CVE-2026-42371
github.com/advisories/GHSA-3f6w-rmcx-pgmh
security.alpinelinux.org/vuln/CVE-2026-42371
Show 34 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42371.json
security-tracker.debian.org/tracker/CVE-2026-42371
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-2187
nvd.nist.gov/vuln/detail/CVE-2025-67899
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-2188
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-2229
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-2230
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-2231
access.redhat.com/errata/RHSA-2026:12430
images.redhat.com
access.redhat.com/security/cve/CVE-2026-42371
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_12430.json
bugzilla.redhat.com/show_bug.cgi?id=2463159
cve.org/CVERecord?id=CVE-2026-42371
suse.com/support/update/announcement/2026/suse-su-202622627-1
bugzilla.suse.com/1262999
bugzilla.suse.com/1264578
bugzilla.suse.com/1264579
suse.com/security/cve/CVE-2026-42371
suse.com/security/cve/CVE-2026-44927
suse.com/security/cve/CVE-2026-44928
suse.com/support/update/announcement/2026/suse-su-20263021-1
ubuntu.com/security/CVE-2026-42371
suse.com/security/cve/CVE-2025-14179
suse.com/security/cve/CVE-2026-6104
suse.com/security/cve/CVE-2026-6722
suse.com/security/cve/CVE-2026-6735
suse.com/security/cve/CVE-2026-7258
suse.com/security/cve/CVE-2026-7259
suse.com/security/cve/CVE-2026-7261
suse.com/security/cve/CVE-2026-7262
suse.com/security/cve/CVE-2026-7263
suse.com/security/cve/CVE-2026-7568