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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.52%, higher than 75% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-12-21T16:55:18.000Z
- Modified: 2026-07-08T05:59:56.165Z
- Also known as: GHSA-wvcv-832q-fjg7, PYSEC-2020-143
- Weaknesses: CWE-326
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- tlsfuzzer tlslite-ng: < 0.7.6; >= 0.8.0-alpha1, < 0.8.0-alpha39
- tlslite-ng (PyPI): before 0.7.6; before c28d6d387bba59d8bd5cb3ba15edc42edf54b368
- tlslite-ng_project tlslite-ng: before 0.7.6; 0.8.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

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

## Sources

- CVE List: [CVE-2020-26263](https://www.cve.org/CVERecord?id=CVE-2020-26263), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-wvcv-832q-fjg7](https://github.com/advisories/GHSA-wvcv-832q-fjg7), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-26263](https://nvd.nist.gov/vuln/detail/CVE-2020-26263), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-143](https://osv.dev/vulnerability/PYSEC-2020-143), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2020-26263 · Whole record: https://cve.day/CVE-2020-26263.json · Rebuilt by cve.day 2026-11-25T22:57:56.338Z
