{"id":"UBUNTU-CVE-2022-1249","details":"A NULL pointer dereference flaw was found in pesign's cms_set_pw_data() function of the cms_common.c file. The function fails to handle the NULL pwdata invocation from daemon.c, which leads to an explicit NULL dereference and crash on all attempts to daemonize pesign.","modified":"2026-05-20T16:07:19.977454369Z","published":"2022-04-29T16:15:00Z","upstream":["CVE-2022-1249"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1249"},{"type":"REPORT","url":"https://github.com/rhboot/pesign/pull/79"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-1249"}],"affected":[{"package":{"name":"pesign","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/pesign?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.110-2"],"ecosystem_specific":{"binaries":[{"binary_name":"pesign","binary_version":"0.110-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"}},{"package":{"name":"pesign","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/pesign?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.112-4"],"ecosystem_specific":{"binaries":[{"binary_name":"pesign","binary_version":"0.112-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"}},{"package":{"name":"pesign","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/pesign?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.112-5"],"ecosystem_specific":{"binaries":[{"binary_name":"pesign","binary_version":"0.112-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"}},{"package":{"name":"pesign","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pesign?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.112-6"],"ecosystem_specific":{"binaries":[{"binary_name":"pesign","binary_version":"0.112-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"}},{"package":{"name":"pesign","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/pesign?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.112-6","116-6","116-7"],"ecosystem_specific":{"binaries":[{"binary_version":"116-7","binary_name":"pesign"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"}},{"package":{"name":"pesign","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/pesign?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["116-8","116-8.1"],"ecosystem_specific":{"binaries":[{"binary_name":"pesign","binary_version":"116-8.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"}},{"package":{"name":"pesign","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/pesign?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["116-8.1","116-8.1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"pesign","binary_version":"116-8.1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"low"}]}