Description
The TLS implementation in the Bouncy Castle Java library before 1.48 and C# library before 1.8 does not properly consider timing side-channel attacks on a noncompliant MAC check operation during the processing of malformed CBC padding, which allows remote attackers to conduct distinguishing attacks and plaintext-recovery attacks via statistical analysis of timing data for crafted packets, a related issue to CVE-2013-0169.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | bouncycastle | 1.48+dfsg-2 | — |
| Debian 13 | bouncycastle | 1.48+dfsg-2 | — |
| Debian 12 | bouncycastle | 1.48+dfsg-2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.bouncycastle:bcprov-jdk15on | < 1.48 | 1.48 | GHSA-8353-fgcr-xfhx |
Advisories 1
- WID-SEC-2025-1459 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 3, 2025
References
- http://www.isg.rhul.ac.uk/tls/TLStiming.pdf
- [oss-security] 20130205 Re: CVE request: TLS CBC padding timing flaw in various SSL / TLS implementations mailing-list
- RHSA-2014:0371 vendor-advisory
- 57719 third-party-advisory
- 57716 third-party-advisory
- RHSA-2014:0372 vendor-advisory