{"id":"UBUNTU-CVE-2026-59882","details":"guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Prior to 2.12.3, Uri::assertValidHost() does not reject URI host components containing authority delimiters, embedded ports, or malformed IPv6 brackets, allowing Uri::getHost() to disagree with the URI authority used for security or routing decisions. This issue is fixed in version 2.12.3.","modified":"2026-07-24T15:35:38.629761082Z","published":"2026-07-08T17:17:00Z","upstream":["CVE-2026-59882"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-59882"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-59882"},{"type":"REPORT","url":"https://github.com/guzzle/psr7/security/advisories/GHSA-c2w2-prh8-qm98"},{"type":"REPORT","url":"https://github.com/guzzle/psr7/pull/811"}],"affected":[{"package":{"name":"php-guzzlehttp-psr7","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0-1","1.2.0-1","1.2.1-1","1.2.2-1","1.2.2-1build1","1.2.2-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.2-1ubuntu1","binary_name":"php-guzzlehttp-psr7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59882.json"}},{"package":{"name":"php-guzzlehttp-psr7","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.2-0.1","1.4.2-0.1+deb10u2build0.20.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-guzzlehttp-psr7","binary_version":"1.4.2-0.1+deb10u2build0.20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59882.json"}},{"package":{"name":"php-guzzlehttp-psr7","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0-1","1.8.3-1","1.8.3-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-guzzlehttp-psr7","binary_version":"1.8.3-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59882.json"}},{"package":{"name":"php-guzzlehttp-psr7","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0-1","2.6.1-1","2.6.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.6.2-1","binary_name":"php-guzzlehttp-psr7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59882.json"}},{"package":{"name":"php-guzzlehttp-psr7","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0-3","2.7.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.1-1","binary_name":"php-guzzlehttp-psr7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59882.json"}},{"package":{"name":"php-guzzlehttp-psr7","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/php-guzzlehttp-psr7?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.1-1","2.8.0-1","2.8.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"php-guzzlehttp-psr7","binary_version":"2.8.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59882.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}