Medium
Libssh: libssh: integrity downgrade via openssl aes-gcm tag verification
Type: advisorySources: OSV
A flaw was found in libssh. Incorrect AES-GCM finalization checks in builds using the OpenSSL backend can effectively remove integrity protection, allowing an in-path attacker to modify plaintext on the wire without detection.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-59847
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 17:22 UTC · Revision 1
Source evidence
Libssh: libssh: integrity downgrade via openssl aes-gcm tag verification
core-osv · Original sourcePublished 21 Jul 2026, 13:18 UTC
A flaw was found in libssh. Incorrect AES-GCM finalization checks in builds using the OpenSSL backend can effectively remove integrity protection, allowing an in-path attacker to modify plaintext on the wire without detection.
osv:CVE-2026-59847
Complete source record
{
"id": "85d97c977b39390246b3469d9dc6d5e096fe25a0c8ffdf6d2d493becf6e4e122",
"url": "https://osv.dev/vulnerability/CVE-2026-59847",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Libssh: libssh: integrity downgrade via openssl aes-gcm tag verification",
"summary": "A flaw was found in libssh. Incorrect AES-GCM finalization checks in builds using the OpenSSL backend can effectively remove integrity protection, allowing an in-path attacker to modify plaintext on the wire without detection.",
"evidence": "osv:CVE-2026-59847",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-59847",
"aliases": [
"CVE-2026-59847"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.com/libssh/libssh-mirror",
"type": "GIT",
"events": [
{
"introduced": "79900e5246da9a1712d8822a53aaf5fd0abc6f40"
},
{
"fixed": "a09fdd00416e53b6ed436df6ff14339a4f884601"
},
{
"introduced": "50313883f3a077458cde4ea95bf46bfeb0771b34"
},
{
"last_affected": "50313883f3a077458cde4ea95bf46bfeb0771b34"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.9.0"
},
{
"fixed": "0.11.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:libssh:libssh:0.12.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.12.0"
},
{
"last_affected": "0.12.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.12.0",
"libssh-0.12.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59847.json"
}
}
],
"modified": "2026-10-28T02:30:30.608486878Z",
"provider": "osv",
"references": [
"https://access.redhat.com/downloads/content/package-browser/",
"https://catalog.redhat.com/software/containers/",
"https://access.redhat.com/errata/RHSA-2026:42922",
"https://access.redhat.com/errata/RHSA-2026:55855",
"https://access.redhat.com/errata/RHSA-2026:62217",
"https://access.redhat.com/errata/RHSA-2026:62218",
"https://access.redhat.com/security/cve/CVE-2026-59847",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59847.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-59847",
"https://bugzilla.redhat.com/show_bug.cgi?id=2498180"
],
"provider_metadata": {
"cwe_ids": [
"CWE-253"
],
"cna_assigner": "redhat",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:0.12.0-3.el10_2"
},
{
"fixed": "0:0.9.6-17.el8_10"
},
{
"fixed": "0:0.9.6-17.el8_10"
},
{
"fixed": "0:0.10.4-19.el9_8"
},
{
"fixed": "0:0.10.4-19.el9_8"
},
{
"fixed": "0.12.1-4.hum1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59847.json"
}
},
"related_cves": [
{
"value": "CVE-2026-59847",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497755,
"published_at": "2026-07-21T13:18:18.146+00:00"
}