{"id":"UBUNTU-CVE-2021-28302","details":"A stack overflow in pupnp before version 1.14.5 can cause the denial of service through the Parser_parseDocument() function. ixmlNode_free() will release a child node recursively, which will consume stack space and lead to a crash.","modified":"2026-04-22T12:50:39.693810Z","published":"2021-03-12T15:15:00Z","upstream":["CVE-2021-28302"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-28302"},{"type":"REPORT","url":"https://github.com/pupnp/pupnp/issues/249"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-28302"}],"affected":[{"package":{"name":"libupnp","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libupnp@1:1.6.19+git20160116-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.6.19+git20141001-1","1:1.6.19+git20141001-1ubuntu1","1:1.6.19+git20160116-1","1:1.6.19+git20160116-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libupnp6","binary_version":"1:1.6.19+git20160116-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28302.json"}},{"package":{"name":"mediatomb","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mediatomb@0.12.1-47-g7ab7616-1ubuntu2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.1-47-g7ab7616-1ubuntu1","0.12.1-47-g7ab7616-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"mediatomb","binary_version":"0.12.1-47-g7ab7616-1ubuntu2"},{"binary_name":"mediatomb-common","binary_version":"0.12.1-47-g7ab7616-1ubuntu2"},{"binary_name":"mediatomb-daemon","binary_version":"0.12.1-47-g7ab7616-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28302.json"}},{"package":{"name":"libupnp","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libupnp@1:1.6.24-4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.6.22-1","1:1.6.24-1","1:1.6.24-2","1:1.6.24-3","1:1.6.24-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libupnp6","binary_version":"1:1.6.24-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28302.json"}},{"package":{"name":"pupnp-1.8","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/pupnp-1.8@1:1.8.2-3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.8.2-2","1:1.8.2-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libixml10","binary_version":"1:1.8.2-3"},{"binary_name":"libupnp10","binary_version":"1:1.8.2-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28302.json"}},{"package":{"name":"pupnp-1.8","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/pupnp-1.8@1:1.8.4-2ubuntu2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.8.4-2ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libixml10","binary_version":"1:1.8.4-2ubuntu2"},{"binary_name":"libupnp13","binary_version":"1:1.8.4-2ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28302.json"}},{"package":{"name":"pupnp-1.8","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pupnp-1.8@1:1.8.4-2ubuntu2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.8.4-2ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libixml10","binary_version":"1:1.8.4-2ubuntu2"},{"binary_name":"libupnp13","binary_version":"1:1.8.4-2ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28302.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}