Home
» GitHub Advisories
» GHSA-9gp4-qrff-c648
Description
In the Bouncy Castle JCE Provider version 1.55 and earlier the DHIES/ECIES CBC mode vulnerable to padding oracle attack. For BC 1.55 and older, in an environment where timings can be easily observed, it is possible with enough observations to identify when the decryption is failing due to padding.
Basic information
Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
—
Source code
Not specified
Published (advisory)
2018-10-18 18:04:13 UTC
Updated
2025-09-12 19:16:15 UTC
GitHub reviewed
2020-06-16 21:28:32 UTC
NVD published
2018-06-04
EPSS Score
Score
Percentile
0.80%
73.76%
CVSS Scores
Base score
Version
Severity
Vector
5.9
3.0
—
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
Credits
AndrzejBiernacki2010
(analyst)
Affected packages (3)
Vulnerable version ranges and first patched releases as published by GitHub.
Ecosystem
Package
Vulnerable range
First patched
Vulnerable functions
maven
org.bouncycastle:bcprov-jdk14
< 1.56
1.56
—
maven
org.bouncycastle:bcprov-jdk15
< 1.56
1.56
—
maven
org.bouncycastle:bcprov-jdk15on
< 1.56
1.56
—
cvelogic
Threat Intelligence