Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 842228 (CVE-2022-1249)

Summary: <app-crypt/pesign-116: null pointer dereference
Product: Gentoo Security Reporter: John Helmert III <ajak>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: IN_PROGRESS ---    
Severity: trivial CC: maintainer-needed
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~4 [cleanup]
Package list:
Runtime testing required: ---

Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-05-02 20:06:25 UTC

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.

Fix in 115:
Comment 1 Larry the Git Cow gentoo-dev 2023-10-04 16:50:20 UTC
The bug has been referenced in the following commit(s):

commit 611739f6d355367906a758a61282ecce8ed82f7a
Author:     Sam James <>
AuthorDate: 2023-10-04 16:02:49 +0000
Commit:     Sam James <>
CommitDate: 2023-10-04 16:47:15 +0000

    app-crypt/pesign: add 116
    Signed-off-by: Sam James <>

 app-crypt/pesign/Manifest                         |  1 +
 app-crypt/pesign/files/pesign-116-no-werror.patch | 11 +++++
 app-crypt/pesign/pesign-116.ebuild                | 57 +++++++++++++++++++++++
 3 files changed, 69 insertions(+)