# CVE-2026-118776: Forge: Incomplete PKCS\#7 padding validation in AES/DES CBC and ECB decryption

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-29 · Modified: 2026-11-04
- Aliases: UBUNTU-CVE-2026-118776, GHSA-2vgq-wchc-25w7, CGA-4r8x-x5gw-qhwq, CGA-89cq-9m8j-2cr6, CGA-gq5w-v6rr-66p2, CGA-3fpp-59p9-4fh8, CGA-4xwf-64vf-r488, CGA-5pcc-56q4-4m25, CGA-5pgp-p6p4-3279, CGA-5ww9-9295-vw84, CGA-7hq2-5rrq-j9xp, CGA-62w8-f588-h5c3
- Record: https://cvemate.com/vulnerability/CVE-2026-118776 · JSON: https://cvemate.com/vulnerability/CVE-2026-118776/json

## Description

```text
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used decipher.finish(), CBC and ECB modes, PKCS#7 padding to process the relevant input or security decision. node-forge validated only the final byte of PKCS#7 padding during CBC and ECB decryption and accepted zero, oversized, or mismatched padding bytes. Malformed ciphertext could consequently be accepted and up to four plaintext blocks could be silently removed, causing an integrity failure in applications that treated successful decryption as proof of valid padding. This issue is fixed in version 1.4.1.
```

## Signals

- CVSS: 5.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.171%, percentile 6.756%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded) \| \< 18.10.8-r12
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded) \| \< 18.9.8-r15
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- ubuntu node-node-forge (Ubuntu): All versions (No fix recorded)
- digitalbazaar forge: \< 1.4.1
- Npm node-forge (Npm): \< 1.4.1

## References

- <https://github.com/digitalbazaar/forge/security/advisories/GHSA-2vgq-wchc-25w7>
- <https://github.com/digitalbazaar/forge/commit/81774ff99e2da64aec9a43591df45a360040c136>
- <https://github.com/digitalbazaar/forge/releases/tag/v1.4.1>
- <https://ubuntu.com/security/CVE-2026-118776>
- <https://www.cve.org/CVERecord?id=CVE-2026-118776>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-118776>
- <https://github.com/digitalbazaar/forge>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118776.json>

---

Data as of 2026-12-05T07:42:17.943Z. 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
