Skip to main content

libdigidocpp CVE-2026-128979

| EUVDEUVD-2026-132978 MEDIUM
Improper Certificate Validation (CWE-295)
2026-11-23 ENISA
6.0
CVSS 4.0 · Vendor: ENISA
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Hold private key of revoked certificate
  2. Exploit
    Forge OCSP 'good' response for it
  3. Execution
    Sign forged response with any qualified cert
  4. Impact
    App skips EKU check, accepts revoked signature

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

Exploitation requires the attacker to possess the private key of an already-revoked signing certificate and to construct a forged OCSP response asserting that certificate is still valid, then sign that response with any other qualified certificate (e.g., the attacker's own Estonian ID card) - the root cause is that libdigidocpp does not verify the id-kp-OCSPSigning EKU, so any qualified certificate is wrongly trusted as an OCSP signer. The attack is limited by several factors: a relying party must actually validate the attacker-supplied signature in an affected application (UI:P), the attacker must control a revoked certificate's private key, and the only consequence is acceptance of a signature that should have been rejected (integrity), with no confidentiality or availability impact. The iOS and Android DigiDoc apps were not yet patched at advisory time, so those deployments cannot fully mitigate by updating.

Impact

This is a genuine but bounded integrity flaw rather than a mass-exploitable emergency. The signals are internally consistent at a medium level: the vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P) scores 6.0, with impact confined to integrity (VI:H) and no confidentiality or availability loss (VC:N/VA:N). It is NOT listed in CISA KEV, no EPSS score was provided, and there is no public exploit identified at time of analysis - the only references are the vendor's own GHSA advisory and an id.ee article, not exploit code. The vuln.today decision label is 'this_month', which is consistent with the medium CVSS and absence of active-exploitation signals: prioritize but not an emergency. The real-world weight comes from context rather than raw score - libdigidocpp underpins qualified electronic signatures that carry legal effect under Estonian/eIDAS law, so silently accepting a signature made with a revoked certificate defeats the revocation trust model. Note the AT:P (attack requirement) signal: exploitation requires the attacker to already possess the private key of a revoked signing certificate and to forge/sign an OCSP response, which constrains who can realistically exploit this to targeted misuse (e.g., repudiation/forgery by a party whose own certificate was revoked) rather than opportunistic remote attack. Residual risk is elevated for mobile users because the iOS and Android apps were not yet patched at advisory time.

Exploit ScenarioDerived

An attacker whose signing certificate has been revoked (but who still holds its private key) signs a document, then forges an OCSP response claiming that revoked certificate is still 'good', signing the forged response with any other qualified certificate such as their own Estonian ID card. Because libdigidocpp never checks for the id-kp-OCSPSigning EKU, an affected app accepts the forged OCSP and reports the revoked signature as a valid qualified signature when a relying party validates the document. No public exploit code is identified; the attack requires possession of the revoked certificate's private key and a victim who validates the crafted signature.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 23, 2026

Forged OCSP responses can make signatures created with revoked Estonian ID-card certificates appear valid in libdigidocpp before 4.5.2, and in the DigiDoc4 desktop and DigiDoc mobile applications built on it. The library fails to check the id-kp-OCSPSigning Extended Key Usage on OCSP responder certificates, so an attacker who holds the private key of a revoked signing certificate can sign a false 'still valid' OCSP response with any other qualified certificate, such as their own ID card, and a relying party who validates the resulting signature in an affected application may accept it as a valid qualified electronic signature. The result is an integrity-only impact (no confidentiality or availability loss) gated on user interaction and on the attacker already possessing a revoked certificate's private key; no public exploit code has been identified at time of analysis, and the issue is rated 'this_month' priority rather than act-now.

RemediationAI

Vendor-released patches: libdigidocpp 4.5.2 and DigiDoc4 4.11.2; the CVE record places the mobile fix at DigiDoc 3.2.0 for both Android (from 3.0.0) and iOS (from 3.0.1), while the GHSA advisory at publication listed the iOS and Android apps as unpatched, so mobile users should confirm availability of 3.2.0 (or later) in their app store before assuming coverage. Administrators should also update every third-party application that bundles libdigidocpp, since the flaw lives in the shared library rather than the UI. The vendor states there are no known workarounds that fully mitigate the vulnerability and that updating to a fixed version is the recommended remedy; details are in https://github.com/open-eid/libdigidocpp/security/advisories/GHSA-vm5m-pv9w-mvm7 and https://www.id.ee/artikkel/uus-id-tarkvara-versioon-parandab-kaks-olulist-turvanrkust/.

Affected VersionsENISA

libdigidocpp 3.10.0 <4.5.2
DigiDoc 3.0.0 <3.2.0
DigiDoc4 4.0.0 <4.11.2
DigiDoc 3.0.1 <3.2.0

Affected Packages

euvd digidoc fix: 3.2.0
euvd digidoc4 fix: 4.11.2
euvd libdigidocpp fix: 4.5.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OCSP (Online Certificate Status Protocol, RFC 6960) is the revocation-checking mechanism Estonian digital signature software uses to decide whether a signing certificate has been revoked. RFC 6960 requires that the certificate used to sign an OCSP response carry the id-kp-OCSPSigning Extended Key Usage (EKU) OID, which is what designates a certificate as an authorised OCSP responder; without that check, any certificate in the trust chain can be abused as a responder certificate. libdigidocpp - the C++ library underlying RIA's DigiDoc4 desktop client and the DigiDoc Android and iOS apps - omitted that EKU verification (CWE-295, Improper Certificate Validation). The assessed vectors (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/.../VI:H and CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N) describe a network-reachable, unauthenticated attack that nonetheless requires the victim to take a validation action (UI:P/UI:R) and requires the attacker to already hold the private key of a revoked signing certificate - the AT:P / trigger specifics beyond the missing EKU check are not further described in the available sources. The impact is confined to signature-validity decisions: affected software may report a signature made with a revoked certificate as a valid qualified electronic signature.

Know when Libdigidocpp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (ENISA) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Signature is validated remotely and needs a relying party to open it (UI:R); no privileges on the victim system (PR:N); impact is integrity-only (I:H, C:N/A:N) as a revoked signature is accepted.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (ENISA).

CVSS VectorVendor: ENISA

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 23, 2026 - 11:01 EUVD
CVE Published
Nov 23, 2026 - 09:12 cve.org
MEDIUM 6.0

DescriptionCVE.org

Improper certificate validation vulnerability in Estonian Information System Authority (RIA) libdigidocpp, Estonian Information System Authority (RIA) DigiDoc4, Estonian Information System Authority (RIA) DigiDoc on Android, and Estonian Information System Authority (RIA) DigiDoc on iOS.

The vulnerability occurs because libdigidocpp does not properly validate the Extended Key Usage (EKU) extension of certificates used to sign OCSP responses. Specifically, it fails to verify that the certificate contains the id-kp-OCSPSigning EKU, which identifies certificates authorised to sign OCSP responses.

This issue affects libdigidocpp: from 3.10.0 before 4.5.2; DigiDoc4: from 4.0.0 before 4.11.2; DigiDoc: from 3.0.0 before 3.2.0; DigiDoc: from 3.0.1 before 3.2.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
Estonian national eID signing software, region-specific deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy