UBUNTU-CVE-2025-27498

Source
https://ubuntu.com/security/CVE-2025-27498
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27498.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-27498
Upstream
Published
2025-03-03T17:15:00Z
Modified
2026-05-20T16:21:00Z
Severity
  • 5.6 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

aes-gcm is a pure Rust implementation of the AES-GCM. In decrypt_in_place_detached, the decrypted ciphertext (which is the correct ciphertext) is exposed even if the tag is incorrect. This is because in decrypt_inplace in asconcore.rs, tag verification causes an error to be returned with the plaintext contents still in buffer. The vulnerability is fixed in 0.4.3.

References

Affected packages

Ubuntu:24.04:LTS / rust-aes-gcm

Package

Name
rust-aes-gcm
Purl
pkg:deb/ubuntu/rust-aes-gcm?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.10.3-1
0.10.3-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-aes-gcm-dev",
            "binary_version": "0.10.3-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27498.json"

Ubuntu:25.10 / rust-aes-gcm

Package

Name
rust-aes-gcm
Purl
pkg:deb/ubuntu/rust-aes-gcm?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.10.3-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-aes-gcm-dev",
            "binary_version": "0.10.3-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27498.json"

Ubuntu:26.04:LTS / rust-aes-gcm

Package

Name
rust-aes-gcm
Purl
pkg:deb/ubuntu/rust-aes-gcm?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.10.3-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-aes-gcm-dev",
            "binary_version": "0.10.3-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27498.json"