CVE-2025-68973

Source
https://cve.org/CVERecord?id=CVE-2025-68973
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68973.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-68973
Downstream
ALPINE (1)
AZL (2)
BELL (1)
CLSA (15)
DEBIAN (1)
ECHO (1)
JLSEC (1)
MGASA (1)
MINI (1)
OESA (1)
openSUSE (2)
RHSA (13)
RLSA (3)
ROOT (6)
SUSE (7)
UBUNTU (1)
Related
Published
2025-12-28T16:19:11Z
Modified
2026-08-12T15:14:55Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

In GnuPG before 2.4.9, armor_filter in g10/armor.c has two increments of an index variable where one is intended, leading to an out-of-bounds write for crafted input. (For ExtendedLTS, 2.2.51 and later are fixed versions.)

Database specific
{
    "cna_assigner":  "mitre",
    "cwe_ids":  [
        "CWE-675"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68973.json"
}
References

Affected packages

Git / github.com/gpg/gnupg

Affected ranges

Type
GIT
Repo
https://github.com/gpg/gnupg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:gnupg:gnupg:*:*:*:*:-:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "2.4.8"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

Other
ABANDONED-V-1-2-0
NEWPG-0-0-0
NEWPG-0-3-0
NEWPG-0-3-1
NEWPG-0-3-10
NEWPG-0-3-2
NEWPG-0-3-3
NEWPG-0-3-4
NEWPG-0-3-5
NEWPG-0-3-6
NEWPG-0-3-7
NEWPG-0-3-8
NEWPG-0-3-9
NEWPG-0-9-0
NEWPG-0-9-1
NEWPG-0-9-2
RC-1-2-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-base
gnupg-2.1.0
gnupg-2.1.0-beta442
gnupg-2.1.0-beta751
gnupg-2.1.0-beta783
gnupg-2.1.0-beta834
gnupg-2.1.0-beta864
gnupg-2.1.0-beta895
gnupg-2.1.0beta1
gnupg-2.1.0beta2
gnupg-2.1.0beta3
gnupg-2.1.1
gnupg-2.1.11
gnupg-2.1.12
gnupg-2.1.13
gnupg-2.1.14
gnupg-2.1.15
gnupg-2.1.16
gnupg-2.1.17
gnupg-2.1.18
gnupg-2.1.19
gnupg-2.1.2
gnupg-2.1.20
gnupg-2.1.21
gnupg-2.1.22
gnupg-2.1.23
gnupg-2.1.3
gnupg-2.1.4
gnupg-2.1.5
gnupg-2.1.6
gnupg-2.1.7
gnupg-2.1.8
gnupg-2.1.9
gnupg-2.2-base
gnupg-2.2.0
gnupg-2.3-base
gnupg-2.3.0
gnupg-2.3.1
gnupg-2.3.2
gnupg-2.3.3
gnupg-2.3.4
gnupg-2.3.5
gnupg-2.3.6
gnupg-2.3.7
gnupg-2.3.8
gnupg-2.4-base
gnupg-2.4.0
gnupg-2.4.1
gnupg-2.5-base
gnupg-2.5.0
gnupg-2.5.1
gnupg-2.5.10
gnupg-2.5.11
gnupg-2.5.12
gnupg-2.5.13
gnupg-2.5.2
gnupg-2.5.3
gnupg-2.5.4
gnupg-2.5.5
gnupg-2.5.6
gnupg-2.5.7
gnupg-2.5.8
gnupg-2.5.9
gnupg-2.6-base

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68973.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "49443994032101166499817929710418787617",
                "15885349329180648629886665119482066444",
                "251567423413559438915149228397159278172",
                "245307190880893838302112067120951580886",
                "233025292863636828738951527225626808703"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2025-68973-0795d086",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/gpg/gnupg/commit/115d138ba599328005c5321c0ef9f00355838ca9",
        "target":  {
            "file":  "g10/armor.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "308261127033383064013893380111635919569",
            "length":  4339
        },
        "id":  "CVE-2025-68973-68fb37d4",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/gpg/gnupg/commit/115d138ba599328005c5321c0ef9f00355838ca9",
        "target":  {
            "file":  "common/iobuf.c",
            "function":  "underflow_target"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "8491897487455473404532060143085768712",
            "length":  6659
        },
        "id":  "CVE-2025-68973-7fc31e4d",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/gpg/gnupg/commit/115d138ba599328005c5321c0ef9f00355838ca9",
        "target":  {
            "file":  "g10/armor.c",
            "function":  "armor_filter"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "58417909544796076269955505969248422608",
                "110818776878108934247290968241798853078",
                "99737392810453685630251105482111447244",
                "113935288793173739545537940463888600246",
                "41376399652890006191605110496782282706",
                "202248868800533379919068614240070725527",
                "90049560659301795284536280797535053471",
                "9804346519796051411285763134077578441",
                "296479341702821865710742504302221433754",
                "292603048869066697821076139961345089813",
                "186002179277992063921212080551453478339",
                "69347065700127502231412071429307141456",
                "260244605468677653061030662897025985687",
                "140014099526233636479402025901264429351"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2025-68973-b1425f20",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/gpg/gnupg/commit/115d138ba599328005c5321c0ef9f00355838ca9",
        "target":  {
            "file":  "common/iobuf.c"
        }
    }
]
vanir_signatures_modified
"2026-08-12T15:14:55Z"