# CVE-2022-24772: 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-24772, DEBIAN-CVE-2022-24772, GHSA-x4jg-mjrx-434g
- Record: https://cvemate.com/vulnerability/CVE-2022-24772 · JSON: https://cvemate.com/vulnerability/CVE-2022-24772/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 does not check for tailing garbage bytes after decoding a `DigestInfo` ASN.1 structure. This can allow padding bytes to be removed and garbage data added 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: 1.112%, percentile 67.072%, 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/commit/3f0b49a0573ef1bb7af7f5673c0cfebf00424df1>
- <https://github.com/digitalbazaar/forge/commit/bb822c02df0b61211836472e29b9790cc541cdb2>
- <https://github.com/digitalbazaar/forge/security/advisories/GHSA-x4jg-mjrx-434g>
- <https://ubuntu.com/security/CVE-2022-24772>
- <https://www.cve.org/CVERecord?id=CVE-2022-24772>
- <https://security-tracker.debian.org/tracker/CVE-2022-24772>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24772>
- <https://github.com/digitalbazaar/forge>

---

Data as of 2026-12-05T08:01:32.272Z. 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
