CVE-2026-25998

Source
https://cve.org/CVERecord?id=CVE-2026-25998
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25998.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-25998
Aliases
  • GHSA-88w4-jv97-c8xr
Published
2026-02-19T15:51:35Z
Modified
2026-08-12T03:51:37Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
strongMan vulnerable to private credential recovery due to key and counter reuse
Details

strongMan is a management interface for strongSwan, an OpenSource IPsec-based VPN. When storing credentials in the database (private keys, EAP secrets), strongMan encrypts the corresponding database fields. So far it used AES in CTR mode with a global database key. Together with an initialization vector (IV), a key stream is generated to encrypt the data in the database fields. But because strongMan did not generate individual IVs, every database field was encrypted using the same key stream. An attacker that has access to the database can use this to recover the encrypted credentials. In particular, because certificates, which have to be considered public information, are also encrypted using the same mechanism, an attacker can directly recover a large chunk of the key stream, which allows them to decrypt basically all other secrets especially ECDSA private keys and EAP secrets, which are usually a lot shorter. Version 0.2.0 fixes the issue by switching to AES-GCM-SIV encryption with a random nonce and an individually derived encryption key, using HKDF, for each encrypted value. Database migrations are provided to automatically re-encrypt all credentials.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-1204",
        "CWE-323"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25998.json"
}
References

Affected packages

Git / github.com/strongswan/strongman

Affected ranges

Type
GIT
Repo
https://github.com/strongswan/strongman
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:strongswan:strongman:0.1.0:*:*:*:*:python:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.2.0"
        },
        {
            "introduced": "0.1.0"
        },
        {
            "last_affected": "0.1.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_STRING"
    ]
}

Affected versions

0.*
0.1.0
v0.*
v0.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25998.json"