# CVE-2020-26263: RSA vulnerability in tslite-ng

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.52% (percentile 75, 2026-11-26)
- **CWE:** CWE-326
- **Aliases:** GHSA-wvcv-832q-fjg7, PYSEC-2020-143
- **Published:** 2020-12-21T16:55:18.000Z
- **Modified:** 2026-07-08T05:59:56.165Z

## Who should check

- Projects that depend on PyPI package tlslite-ng (\< 0.7.6)
- Anyone running tlsfuzzer tlslite-ng \< 0.7.6; \>= 0.8.0-alpha1, \< 0.8.0-alpha39

## Description

tlslite-ng is an open source python library that implements SSL and TLS cryptographic protocols. In tlslite-ng before versions 0.7.6 and 0.8.0-alpha39, the code that performs decryption and padding check in RSA PKCS\#1 v1.5 decryption is data dependant. In particular, the code has multiple ways in which it leaks information about the decrypted ciphertext. It aborts as soon as the plaintext doesn't start with 0x00, 0x02. All TLS servers that enable RSA key exchange as well as applications that use the RSA decryption API directly are vulnerable. This is patched in versions 0.7.6 and 0.8.0-alpha39. Note: the patches depend on Python processing the individual bytes in side-channel free manner, this is known to not the case (see reference). As such, users that require side-channel resistance are recommended to use different TLS implementations, as stated in the security policy of tlslite-ng.

## Affected and fixed versions

- PyPI `tlslite-ng`: affected \< 0.7.6; fixed 0.7.6 (osv)
- tlsfuzzer tlslite-ng: \< 0.7.6; \>= 0.8.0-alpha1, \< 0.8.0-alpha39 (cvelist)

## Mitigation

- Upgrade tlslite-ng to 0.7.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-26263. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-26263.md
Affected: tlslite-ng < 0.7.6
Fixed in: 0.7.6

Steps:
1. Search this machine and project for tlslite-ng (PyPI), tlsfuzzer tlslite-ng: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-26263 being exploited?

There is no confirmed exploitation: CVE-2020-26263 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.52% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-26263?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2020-26263?

tlslite-ng \< 0.7.6.

### Is there a fix for CVE-2020-26263?

Yes. Fixed in 0.7.6. Upgrade tlslite-ng to 0.7.6 or later.

### How do I check if I'm affected by CVE-2020-26263?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-26263>
- patch: <https://github.com/tlsfuzzer/tlslite-ng/pull/438>
- patch: <https://github.com/tlsfuzzer/tlslite-ng/pull/439>
- patch: <https://github.com/tlsfuzzer/tlslite-ng/commit/c28d6d387bba59d8bd5cb3ba15edc42edf54b368>
- exploit: <https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/>
- other: <https://pypi.org/project/tlslite-ng/>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/tlslite-ng/PYSEC-2020-143.yaml>
- other: <https://github.com/tlsfuzzer/tlslite-ng>
- other: <https://pypi.org/project/tlslite-ng>
- other: <https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-26263>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-wvcv-832q-fjg7> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2020-143> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-26263> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-26263>
