{"id":"UBUNTU-CVE-2025-65502","details":"Null pointer dereference in add_ca_certs() in Cesanta Mongoose before 7.2 allows remote attackers to cause a denial of service via TLS initialization where SSL_CTX_get_cert_store() returns NULL.","modified":"2026-11-18T00:45:25.526738851Z","published":"2025-11-24T14:15:00Z","upstream":["CVE-2025-65502"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-65502"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-65502"},{"type":"REPORT","url":"https://github.com/cesanta/mongoose/issues/3306"},{"type":"REPORT","url":"https://github.com/cesanta/mongoose/commit/64abf061bf018fd78f31c200a57a3fb04f9f3ef2"}],"affected":[{"package":{"name":"swupdate","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/swupdate?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2020.11-2","2021.04-1.1","2021.04-2","2021.04-2build1","2021.11-1","2021.11-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2021.11-1ubuntu0.1~esm1","binary_name":"libswupdate0.1"},{"binary_name":"lua-swupdate","binary_version":"2021.11-1ubuntu0.1~esm1"},{"binary_name":"swupdate","binary_version":"2021.11-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-65502.json"}},{"package":{"name":"swupdate","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/swupdate?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2023.05+dfsg-3","2023.05+dfsg-4","2023.05+dfsg-4build1","2023.05+dfsg-5","2023.12+dfsg-1","2023.12.1+dfsg-1ubuntu1","2023.12.1+dfsg-1ubuntu4","2023.12.1+dfsg-1ubuntu5","2023.12.1+dfsg-1ubuntu5+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libswupdate0.1","binary_version":"2023.12.1+dfsg-1ubuntu5+esm1"},{"binary_version":"2023.12.1+dfsg-1ubuntu5+esm1","binary_name":"lua-swupdate"},{"binary_name":"swupdate","binary_version":"2023.12.1+dfsg-1ubuntu5+esm1"},{"binary_version":"2023.12.1+dfsg-1ubuntu5+esm1","binary_name":"swupdate-www"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-65502.json"}},{"package":{"name":"swupdate","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/swupdate?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2024.12.1+dfsg-1build2","2024.12.1+dfsg-2","2024.12.1+dfsg-3","2025.05+dfsg-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"2025.05+dfsg-2ubuntu1","binary_name":"libswupdate0.1"},{"binary_name":"lua-swupdate","binary_version":"2025.05+dfsg-2ubuntu1"},{"binary_name":"swupdate","binary_version":"2025.05+dfsg-2ubuntu1"},{"binary_version":"2025.05+dfsg-2ubuntu1","binary_name":"swupdate-www"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-65502.json"}},{"package":{"name":"mongoose","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/mongoose?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.21+ds-1","7.21+ds-2","7.22+ds-1","7.23+ds-1"],"ecosystem_specific":{"binaries":[{"binary_version":"7.23+ds-1","binary_name":"mongoose-webserver-source"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-65502.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}