2026-11-23 9:12CVE-2026-128979ENISA
PUBLISHED5.2CWE-295

Improper Verification of Cryptographic Signatures in libdigidocpp

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.

Problem type

Affected products

Estonian Information System Authority (RIA)

libdigidocpp

< 4.5.2 - AFFECTED

DigiDoc4

< 4.11.2 - AFFECTED

DigiDoc

< 3.2.0 - AFFECTED

DigiDoc

< 3.2.0 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-128979
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-128979",
    "assignerOrgId": "a6d3dc9e-0591-4a13-bce7-0f5b31ff6158",
    "assignerShortName": "ENISA",
    "dateUpdated": "2026-11-23T09:12:41.250Z",
    "dateReserved": "2026-11-13T13:48:09.132Z",
    "datePublished": "2026-11-23T09:12:41.250Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "a6d3dc9e-0591-4a13-bce7-0f5b31ff6158",
        "shortName": "ENISA",
        "dateUpdated": "2026-11-23T09:12:41.250Z"
      },
      "title": "Improper Verification of Cryptographic Signatures in libdigidocpp",
      "descriptions": [
        {
          "lang": "en",
          "value": "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.\n\n\nThe vulnerability occurs because libdigidocpp does not properly validate\n the Extended Key Usage (EKU) extension of certificates used to sign \nOCSP responses. Specifically, it fails to verify that the certificate \ncontains the id-kp-OCSPSigning EKU, which identifies certificates \nauthorised to sign OCSP responses. \n\n\n\n\n\nThis 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.",
          "supportingMedia": [
            {
              "type": "text/html",
              "base64": false,
              "value": "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.<br><br>\nThe vulnerability occurs because libdigidocpp does not properly validate\n the Extended Key Usage (EKU) extension of certificates used to sign \nOCSP responses. Specifically, it fails to verify that the certificate \ncontains the id-kp-OCSPSigning EKU, which identifies certificates \nauthorised to sign OCSP responses.&nbsp;\n\n<br><br><p>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.</p>"
            }
          ]
        }
      ],
      "affected": [
        {
          "vendor": "Estonian Information System Authority (RIA)",
          "product": "libdigidocpp",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "3.10.0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.5.2"
            }
          ]
        },
        {
          "vendor": "Estonian Information System Authority (RIA)",
          "product": "DigiDoc4",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "4.0.0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.11.2"
            }
          ]
        },
        {
          "vendor": "Estonian Information System Authority (RIA)",
          "product": "DigiDoc",
          "platforms": [
            "Android"
          ],
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "3.0.0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "3.2.0"
            }
          ]
        },
        {
          "vendor": "Estonian Information System Authority (RIA)",
          "product": "DigiDoc",
          "platforms": [
            "iOS"
          ],
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "3.0.1",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "3.2.0"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-295 Improper certificate validation",
              "cweId": "CWE-295",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/open-eid/libdigidocpp/security/advisories/GHSA-vm5m-pv9w-mvm7",
          "tags": [
            "release-notes"
          ]
        },
        {
          "url": "https://www.id.ee/artikkel/uus-id-tarkvara-versioon-parandab-kaks-olulist-turvanrkust/",
          "tags": [
            "government-resource"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ]
    }
  }
}