# CVE-2022-24771: Improper Verification of Cryptographic Signature in node-forge

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.3.0 (CNA); fix release not confirmed
- Status: published
- Published: 2022-03-18 · Modified: 2025-04-23
- Aliases: UBUNTU-CVE-2022-24771, DEBIAN-CVE-2022-24771, GHSA-cfm4-qjh2-4765
- Record: https://cvemate.com/vulnerability/CVE-2022-24771 · JSON: https://cvemate.com/vulnerability/CVE-2022-24771/json

## Description

```text
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.3.0, RSA PKCS#1 v1.5 signature verification code is lenient in checking the digest algorithm structure. This can allow a crafted structure that steals padding bytes and uses unchecked portion of the PKCS#1 encoded message to forge a signature when a low public exponent is being used. The issue has been addressed in `node-forge` version 1.3.0. There are currently no known workarounds.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.779%, percentile 57.252%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian node-node-forge (Debian): \< 0.10.0~dfsg-3+deb11u1
- ubuntu node-node-forge (Ubuntu): All versions (No fix recorded)
- digitalbazaar forge: \< 1.3.0
- Npm node-forge (Npm): \< 1.3.0

## References

- <https://github.com/digitalbazaar/forge/security/advisories/GHSA-cfm4-qjh2-4765>
- <https://github.com/digitalbazaar/forge/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1>
- <https://ubuntu.com/security/CVE-2022-24771>
- <https://www.cve.org/CVERecord?id=CVE-2022-24771>
- <https://security-tracker.debian.org/tracker/CVE-2022-24771>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24771>
- <https://github.com/digitalbazaar/forge/commit/bb822c02df0b61211836472e29b9790cc541cdb2>
- <https://github.com/digitalbazaar/forge>

---

Data as of 2026-12-05T08:01:52.807Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
