{"id":"UBUNTU-CVE-2018-19198","details":"An issue was discovered in uriparser before 0.9.0. UriQuery.c allows an out-of-bounds write via a uriComposeQuery* or uriComposeQueryEx* function because the '&' character is mishandled in certain contexts.","modified":"2026-04-22T11:50:17.060315Z","published":"2018-11-12T15:29:00Z","related":["USN-5172-1","USN-5172-2"],"upstream":["CVE-2018-19198"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-19198"},{"type":"REPORT","url":"https://github.com/uriparser/uriparser/commit/864f5d4c127def386dd5cc926ad96934b297f04e"},{"type":"REPORT","url":"https://github.com/uriparser/uriparser/blob/uriparser-0.9.0/ChangeLog"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5172-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-19198"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5172-2"}],"affected":[{"package":{"name":"uriparser","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/uriparser@0.7.5-1ubuntu2+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.5-1ubuntu2+esm1"}]}],"versions":["0.7.5-1","0.7.5-1ubuntu1","0.7.5-1ubuntu2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"0.7.5-1ubuntu2+esm1","binary_name":"liburiparser1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19198.json"}},{"package":{"name":"uriparser","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/uriparser@0.8.4-1+deb9u2build0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.4-1+deb9u2build0.18.04.1"}]}],"versions":["0.8.4-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"0.8.4-1+deb9u2build0.18.04.1","binary_name":"liburiparser1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19198.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}