CVE-2022-3515: A vulnerability was found in the Libksba library due to an integer overflow within the CRL parser.
Noroxi assessment
Priority: Plan (action score 40/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.7% (FIRST EPSS); higher than 77.2% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: libksba (AlmaLinux:8) 1.3.5-8.el8_6; libksba-devel (AlmaLinux:8) 1.3.5-8.el8_6; libksba (AlmaLinux:9) 1.5.1-5.el9_0.
Add it to your regular patch cycle. Upgrade to libksba (AlmaLinux:8) 1.3.5-8.el8_6; libksba-devel (AlmaLinux:8) 1.3.5-8.el8_6; libksba (AlmaLinux:9) 1.5.1-5.el9_0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
A vulnerability was found in the Libksba library due to an integer overflow within the CRL parser. The vulnerability can be exploited remotely for code execution on the target system by passing specially crafted data to the application, for example, a malicious S/MIME attachment.
- Published
- Jan 12, 2023
- Updated
- Jun 17, 2026
- EPSS
- 1.7% · 77th percentile
- CWE
- CWE-190
Report tools
Action score
40
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.7%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| gnupg | libksba | cpe:2.3:a:gnupg:libksba |
| gnupg | vs-desktop | cpe:2.3:a:gnupg:vs-desktop |
| gnupg | gnupg | cpe:2.3:a:gnupg:gnupg |
| gpg4win | gpg4win | cpe:2.3:a:gpg4win:gpg4win |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gnupg gnupg2.1.0 and later · before 2.2.41
- gnupg gnupg2.3.0 and later · before 2.4.0
- gnupg libksbabefore 1.6.3
- gnupg vs-desktop3.1.16 and later · before 3.1.26
- gpg4win gpg4win2.0.0 and later · before 4.1.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a libksba
- Fixed in libksba v1.6.2affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | libksba | before 1.3.5-8.el8_6 | 1.3.5-8.el8_6 |
| AlmaLinux:8 | libksba-devel | before 1.3.5-8.el8_6 | 1.3.5-8.el8_6 |
| AlmaLinux:9 | libksba | before 1.5.1-5.el9_0 | 1.5.1-5.el9_0 |
| AlmaLinux:9 | libksba-devel | before 1.5.1-5.el9_0 | 1.5.1-5.el9_0 |
| Alpine:v3.14 | libksba | before 1.5.1-r1 | 1.5.1-r1 |
| Alpine:v3.15 | libksba | before 1.6.3-r0 | 1.6.3-r0 |
| Alpine:v3.17 | libksba | before 1.6.2-r0 | 1.6.2-r0 |
| Debian:10 | libksba | before 1.3.5-2+deb10u1 | 1.3.5-2+deb10u1 |
| Debian:11 | libksba | before 1.5.0-3+deb11u1 | 1.5.0-3+deb11u1 |
| Debian:12 | libksba | before 1.6.2-1 | 1.6.2-1 |
| openSUSE:Leap Micro 5.2 | libksba | before 1.3.5-150000.4.3.1 | 1.3.5-150000.4.3.1 |
| openSUSE:Tumbleweed | libksba | before 1.6.2-1.1 | 1.6.2-1.1 |
| Red Hat:enterprise_linux:7::client | libksba | before 0:1.3.0-6.el7_9 | 0:1.3.0-6.el7_9 |
| Red Hat:enterprise_linux:7::client | libksba-debuginfo | before 0:1.3.0-6.el7_9 | 0:1.3.0-6.el7_9 |
| Red Hat:enterprise_linux:7::client | libksba-devel | before 0:1.3.0-6.el7_9 | 0:1.3.0-6.el7_9 |
| Red Hat:enterprise_linux:8::baseos | libksba | before 0:1.3.5-8.el8_6 | 0:1.3.5-8.el8_6 |
| Red Hat:enterprise_linux:8::baseos | libksba-debuginfo | before 0:1.3.5-8.el8_6 | 0:1.3.5-8.el8_6 |
| Red Hat:enterprise_linux:8::baseos | libksba-debugsource | before 0:1.3.5-8.el8_6 | 0:1.3.5-8.el8_6 |
| Red Hat:enterprise_linux:8::crb | libksba-devel | before 0:1.3.5-8.el8_6 | 0:1.3.5-8.el8_6 |
| Red Hat:enterprise_linux:9::baseos | libksba | before 0:1.5.1-5.el9_0 | 0:1.5.1-5.el9_0 |
| Red Hat:enterprise_linux:9::baseos | libksba-debuginfo | before 0:1.5.1-5.el9_0 | 0:1.5.1-5.el9_0 |
| Red Hat:enterprise_linux:9::baseos | libksba-debugsource | before 0:1.5.1-5.el9_0 | 0:1.5.1-5.el9_0 |
| Red Hat:enterprise_linux:9::crb | libksba-devel | before 0:1.5.1-5.el9_0 | 0:1.5.1-5.el9_0 |
| Red Hat:rhel_aus:8.2::baseos | libksba | before 0:1.3.5-8.el8_2 | 0:1.3.5-8.el8_2 |
+15
Same product
gnupg: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-47629Libksba before 1.6.3 is prone to an integer overflow vulnerability in the CRL signature parser.40Plan
- CVE-2014-9087Integer underflow in the ksba_oid_to_str function in Libksba before 1.3.2, as used in GnuPG, allows remote attackers to cause a denial of se32Monitor
- CVE-2016-4579Libksba before 1.3.4 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via unspecified vectors, related to31Monitor
Published before and after this one in the same product
- ← EarlierCVE-2016-4355Jun 13, 2016 · Multiple integer overflows in ber-decoder.c in Libksba before 1.3.3 allow remote attackers to cause a denial of service (crash) via crafted 31Monitor
- ← EarlierCVE-2016-4356Jun 13, 2016 · The append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.3 allows remote attackers to cause a denial of service (out-of31Monitor
- ← EarlierCVE-2016-4574Jun 13, 2016 · Off-by-one error in the append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.4 allows remote attackers to cause a denia31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:libksba | 1.3.5-8.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libksba-devel | 1.3.5-8.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| alpine:libksba | 1.5.1-r1 · Alpine:v3.14 | Package registry (OSV) |
| debian:libksba | 1.6.2-1 · Debian:12 | Package registry (OSV) |
| opensuse:libksba | 1.3.5-150000.4.3.1 · openSUSE:Leap Micro 5.2 | Package registry (OSV) |
| red hat:libksba | 0:1.3.0-6.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libksba-debuginfo | 0:1.3.0-6.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libksba-debugsource | 0:1.3.5-8.el8_6 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:libksba-devel | 0:1.3.0-6.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:redhat-virtualization-host | 0:4.5.3-202211170828_8.6 · Red Hat:rhev_hypervisor:4.4::el8 | Package registry (OSV) |
| red hat:redhat-virtualization-host-image-update | 0:4.5.3-202211170828_8.6 · Red Hat:rhev_hypervisor:4.4::el8 | Package registry (OSV) |
| rocky linux:libksba | 0:1.3.5-8.el8_6 · Rocky Linux:8 | Package registry (OSV) |
| suse:libksba | 1.3.0-24.3.1 · SUSE:OpenStack Cloud 9 | Package registry (OSV) |
| suse:libksba | 1.3.5-150000.4.3.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-190 · Integer Overflow or WraparoundCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.