Home / openpgpjs / openpgpjs / CVE-2023-41037
CVE-2023-41037: is it exploited, and which versions of openpgpjs are affected and fixed?
CVE-2023-41037 is a cryptographic signature not verified vulnerability in openpgpjs. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 20:09 UTC). Affected: openpgp before 4.10.11 and openpgp from 5.0.0 before 5.10.1 (GitHub advisory GHSA-ch3c-v47x-4pgp). Fixed in 4.10.11 and 5.10.1 (GitHub advisory GHSA-ch3c-v47x-4pgp). Severity: Medium (4.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 20:09 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:36 UTC.
What is CVE-2023-41037?
Cleartext Signed Message Signature Spoofing in openpgpjs
OpenPGP.js is a JavaScript implementation of the OpenPGP protocol. In affected versions OpenPGP Cleartext Signed Messages are cryptographically signed messages where the signed text is readable without special tools. These messages typically contain a "Hash: ..." header declaring the hash algorithm used to compute the signature digest. OpenPGP.js up to v5.9.0 ignored any data preceding the "Hash: ..." texts when verifying the signature. As a result, malicious parties could add arbitrary text to a third-party Cleartext Signed Message, to lead the victim to believe that the arbitrary text was signed. A user or application is vulnerable to said attack vector if it verifies the CleartextMessage by only checking the returned `verified` property, discarding the associated `data` information, and instead _visually trusting_ the contents of the original message. Since `verificationResult.data` would always contain the actual signed data, users and apps that check this information are not vulnerable. Similarly, given a CleartextMessage object, retrieving the data using `getText()` or the `text` field returns only the contents that are considered when verifying the signature. Finally, re-armoring a CleartextMessage object (using `armor()` will also result in a "sanitised" version, with the extraneous text being removed. This issue has been addressed in version 5.10.1 (current stable version) which will reject messages when calling `openpgp.readCleartextMessage()` and in version 4.10.11 (legacy version) which will will reject messages when calling `openpgp.cleartext.readArmored()`. Users are advised to upgrade. Users unable to upgrade should check the contents of `verificationResult.data` to see what data was actually signed, rather than visually trusting the contents of the armored message.
From the CVE record by GitHub_M, last updated September 30, 2024, 17:43 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| openpgpjs | openpgpjs | < 4.10.11 >= 5.0.0, < 5.10.1 |
As the CVE record by GitHub_M states it, last updated September 30, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | openpgp | < 4.10.11 | 4.10.11 | GHSA-ch3c-v47x-4pgp |
| npm | openpgp | >= 5.0.0, < 5.10.1 | 5.10.1 | GHSA-ch3c-v47x-4pgp |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 29, 2023. Summary: Cleartext Signed Message Signature Spoofing in openpgp.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openpgpjs | openpgpjs | before 4.10.11 | application |
| openpgpjs | openpgpjs | from 5.0.0 before 5.10.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:20 UTC.
How severe is CVE-2023-41037?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N | GitHub_M |
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-41037 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 30, 2024)
- EPSS
- 0.35% probability of exploitation activity in the next 30 days, percentile 31.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-347 Improper Verification of Cryptographic Signature
Where are the vendor advisories and references?
- https://github.com/openpgpjs/openpgpjs/security/advisories/GHSA-ch3c-v47x-4pgp x_refsource_CONFIRM
- https://github.com/openpgpjs/openpgpjs/commit/6b43e02a254853f5ff508ebd1b07541f78b7c566 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 22, 2023
- Published
- August 29, 2023, 16:46 UTC
- CVE record updated
- September 30, 2024, 17:43 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:20 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:36 UTC; KEV December 3, 2026, 20:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect openpgpjs?
- May 19, 2025CVE-2025-47934 openpgpjs: cryptographic signature not verified
- Aug 22, 2019CVE-2019-9155 Openpgpjs: broken or risky cryptography
- Aug 22, 2019CVE-2019-9154 Openpgpjs: cryptographic signature not verified
- Aug 22, 2019CVE-2019-9153 Openpgpjs: cryptographic signature not verified
- Jul 25, 2017CVE-2015-8013 Openpgpjs: n/a
Questions about CVE-2023-41037
Is CVE-2023-41037 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 20:09 UTC. FIRST's EPSS gives it a 0.35% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of openpgpjs are affected by CVE-2023-41037?
openpgp before 4.10.11 and openpgp from 5.0.0 before 5.10.1, per the GitHub advisory GHSA-ch3c-v47x-4pgp. The tables above give every range the sources list.
Which version fixes CVE-2023-41037?
4.10.11 and 5.10.1, per the GitHub advisory GHSA-ch3c-v47x-4pgp. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-41037?
Medium (4.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-41037?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.