Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malformed BDOC XAdES signature container
-
DeliveryDeliver document to target via phishing or file share
-
ExploitVictim opens document in unpatched DigiDoc client
-
ExecutionMalformed signature node triggers C++ exception in validate()
-
PersistException exits validation without marking signature invalid
-
ImpactApplication presents forged document as bearing a valid signature
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Exploitation requires the victim to actively open (UI:A) a maliciously crafted BDOC 2.1 or ASiC-E document using an unpatched DigiDoc client - specifically DigiDoc4 desktop 4.7.0-4.8.1, DigiDoc Android 2.7.0-2.7.1, or DigiDoc iOS 2.8.0 - on a local device (AV:L). The specific attack prerequisite (AT:P) is that the crafted document must contain a structural anomaly in the XAdES signature block capable of triggering a C++ exception within the validation path (for example, a malformed SignaturePolicyIdentifier, absent DigestMethod, or malformed Reference URI), and that no code around the call site catches this exception before it exits validate(). No authentication to any network service or external system is required; the vulnerability is entirely a client-side file-parsing issue. What limits exploitation: the attacker must deliver the crafted document to a specific victim through social engineering, phishing, or a file-sharing channel; the victim must voluntarily open the file using the vulnerable application; and the device must be running one of the affected application versions - there is no remote code execution primitive and no network-reachable attack surface. |
| Impact | The CVSS 4.0 score of 4.4 Medium reflects real exploitation constraints: local attack vector (AV:L), mandatory active user interaction (UI:A), and specific attack prerequisites (AT:P) collectively prevent opportunistic or mass exploitation. Despite those constraints, the High integrity impact (VI:H) is particularly consequential in the DigiDoc context - these applications exist specifically to establish the legal validity of electronically signed documents, so a bypass that causes an invalid or forged signature to appear as verified strikes at the entire trust model, not a peripheral feature. No EPSS score was supplied and the CVE is absent from CISA KEV, so exploitation probability and confirmed in-the-wild activity are unknown beyond the E:P proof-of-concept signal. For any organization relying on DigiDoc-validated signatures for government, financial, or cross-border eIDAS document workflows - even a mid-sized municipal IT team in swidnica evaluating Baltic eIDAS interoperability would face material document-integrity risk if their DigiDoc client stack falls in the affected range - the moderate CVSS score understates the business impact of accepting a forged signature as legally valid. The limiting factor for broad exploitation is delivery: the attacker must socially engineer the victim into opening a crafted document with an unpatched client, which requires targeted effort rather than passive scanning. |
| Exploit ScenarioDerived | An attacker constructs a BDOC 2.1 ASiC-E container with a deliberately malformed XAdES signature block - for example, a SignaturePolicyIdentifier or Reference element structured to trigger a C++ exception during policy or digest processing in libdigidocpp's SignatureXAdES_B::validate(). When the target opens the document in an unpatched DigiDoc4 desktop or DigiDoc mobile application, the exception escapes the validation routine without registering as a failure, and the application displays the document as bearing a valid, verified signature - allowing the attacker's unsigned or tampered content to be accepted as legally signed. A proof-of-concept is indicated by the CVSS 4.0 E:P exploit maturity modifier, though no public POC repository has been confirmed in the provided references. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 10, 2026
Improper cryptographic signature verification in Estonian RIA's libdigidocpp core library and its consumer applications - DigiDoc4, DigiDoc for Android, and DigiDoc for iOS - enables bypassing of XAdES signature validity checks through unhandled exceptional conditions during BDOC container parsing. Affected versions span libdigidocpp 4.1.0-4.2.0, DigiDoc4 4.7.0-4.8.1, DigiDoc Android 2.7.0-2.7.1, and DigiDoc iOS 2.8.0, all of which have vendor-released patches. A proof-of-concept is indicated by the CVSS 4.0 E:P exploit maturity modifier, though no active exploitation has been confirmed and this CVE is not listed in CISA KEV.
RemediationAI
The primary fix is to upgrade to patched releases immediately: libdigidocpp 4.2.1 or later, DigiDoc4 4.8.2 or later, DigiDoc for Android 2.7.2 or later, and DigiDoc for iOS 2.8.1 or later. The upstream code fix is in GitHub PR #690 (https://github.com/open-eid/libdigidocpp/pull/690), which wraps the entire SignatureXAdES_B::validate() body in a try-catch block so that any C++ exception during policy parsing, reference digest checking, or XMLDocument::verifySignature() is caught and treated as a validation failure rather than silently bypassing the check. Note that the patch represents a released version per the CVE version ranges, but the exact patched release version has not been independently confirmed beyond the upstream PR commit - the vendor advisory at https://www.id.ee/en/article/ria-soovitab-kasutajatel-uuendada-id-tarkvara-eng/ should be treated as authoritative for release confirmation. If immediate patching is not feasible, the strongest compensating control is to re-validate all received DigiDoc-signed documents through a server-side validation endpoint running a patched libdigidocpp instance before acting on the signature's legal status - this adds operational latency and requires a trusted, separately-maintained validation service but ensures forged signatures are detected even when client applications are unpatched. There is no known configuration option to disable the vulnerable code path in-place.
Affected VersionsENISA
Affected Packages
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
libdigidocpp is the C++ library underlying all Estonian RIA DigiDoc signing applications, implementing XAdES (XML Advanced Electronic Signatures) as mandated for BDOC 2.1 containers - the Estonian national format for legally-binding electronic signatures used with the national eID card infrastructure. The dual CWE classification (CWE-347, Improper Verification of Cryptographic Signature; and CWE-754, Improper Check for Unusual or Exceptional Conditions) reflects the mechanics visible in PR #690's diff of SignatureXAdES_B.cpp: the validate() method performed policy-identifier parsing, reference digest checks, and XMLDocument::verifySignature() calls without a wrapping try-catch block. C++ exceptions thrown during any of those sub-steps - for example from malformed SignaturePolicyIdentifier nodes, missing DigestMethod elements, or structural anomalies in the Reference chain - could escape the validation function without registering a failure, leaving the signature marked as implicitly valid. The tags referencing JWT attacks suggest the broader category of algorithm-confusion or validation-bypass vulnerabilities is relevant context. CPE strings confirm all four affected products are attributed to the Estonian Information System Authority (RIA) under the open-eid project.
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
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
Local file-parsing vector with required user interaction; AC:H reflects AT:P prerequisite of a specifically crafted document; integrity-only impact with no confidentiality or availability consequence.
Primary rating from Vendor (ENISA).
CVSS VectorVendor: ENISA
DescriptionCVE.org
Improper verification of cryptographic signature and Improper Check for Unusual or Exceptional Conditions vulnerability in Estonian Information System Authority (RIA) libdigidocpp, DigiDoc4, DigiDoc on Android, and DigiDoc on iOS. This issue affects libdigidocpp: from 4.1.0 before 4.2.1; DigiDoc4: from 4.7.0 before 4.8.2; DigiDoc on Android: from 2.7.0 before 2.7.2; DigiDoc on iOS: from 2.8.0 before 2.8.1.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-55632
GHSA-cwph-2586-4qwc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB