pesign — security advisory
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.
- Products
- pesign
- Affected versions
- 0.110-2, 0.112-4, 0.112-5, 0.112-6, 116-6, 116-7, 116-8, 116-8.1, 116-8.1build1
- Fixed versions
- Not specified
- CVEs
- CVE-2022-1249
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:39 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2022-1249
pesign
Fixed versions: Not specified
pesign
Fixed versions: Not specified
pesign
Fixed versions: Not specified
pesign
Fixed versions: Not specified
pesign
Fixed versions: Not specified
pesign
Fixed versions: Not specified
pesign
Fixed versions: Not specified
pesign
Fixed versions: Not specified
Complete source record
{
"id": "23742bc0a69ac1480449f66ca40069bc7054ffe3bdf0519e2da1d28bd1916144",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-1249",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-1249",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2022-1249",
"products": [
{
"name": {
"value": "pesign",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.110-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "pesign",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.112-4",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "pesign",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.112-5",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "pesign",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.112-6",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "pesign",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.112-6",
"evidence": "/affected/4/versions"
},
{
"value": "116-6",
"evidence": "/affected/4/versions"
},
{
"value": "116-7",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "pesign",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "116-8",
"evidence": "/affected/5/versions"
},
{
"value": "116-8.1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "pesign",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "116-8.1build1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "pesign",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "116-8.1",
"evidence": "/affected/7/versions"
},
{
"value": "116-8.1build1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "low",
"structured": {
"id": "UBUNTU-CVE-2022-1249",
"aliases": [
"UBUNTU-CVE-2022-1249"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pesign",
"purl": "pkg:deb/ubuntu/pesign?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.110-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pesign",
"binary_version": "0.110-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pesign",
"purl": "pkg:deb/ubuntu/pesign?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.112-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pesign",
"binary_version": "0.112-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pesign",
"purl": "pkg:deb/ubuntu/pesign?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.112-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pesign",
"binary_version": "0.112-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pesign",
"purl": "pkg:deb/ubuntu/pesign?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.112-6"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pesign",
"binary_version": "0.112-6"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pesign",
"purl": "pkg:deb/ubuntu/pesign?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.112-6",
"116-6",
"116-7"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pesign",
"binary_version": "116-7"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pesign",
"purl": "pkg:deb/ubuntu/pesign?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"116-8",
"116-8.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pesign",
"binary_version": "116-8.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pesign",
"purl": "pkg:deb/ubuntu/pesign?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"116-8.1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pesign",
"binary_version": "116-8.1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pesign",
"purl": "pkg:deb/ubuntu/pesign?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"116-8.1",
"116-8.1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1249.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pesign",
"binary_version": "116-8.1build1"
}
]
}
}
],
"modified": "2026-10-17T12:55:55.926865050Z",
"provider": "osv",
"upstream": [
"CVE-2022-1249"
],
"references": [
"https://ubuntu.com/security/CVE-2022-1249",
"https://github.com/rhboot/pesign/pull/79",
"https://www.cve.org/CVERecord?id=CVE-2022-1249"
]
},
"related_cves": [
{
"value": "CVE-2022-1249",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354313,
"published_at": "2022-04-29T16:15:00+00:00"
}