{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138164",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-11-28T02:15:01.998Z",
        "datePublished": "2026-11-28T02:21:50.066Z",
        "dateUpdated": "2026-11-28T02:21:50.066Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-11-28T02:21:50.066Z"
            },
            "datePublic": "2026-11-09T00:00:00.000Z",
            "title": "Gammu before 1.45.2 Stack-Based Buffer Overflow via SaveBackupText()",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in SaveBackupText() in backtext.c that allows attackers to corrupt stack memory by supplying long text fields. Attackers can craft a backup with long calendar or note fields that, when converted with gammu convertbackup, writes hex digits past the 10,000-byte stack buffer."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Stack-based Buffer Overflow",
                            "cweId": "CWE-121",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Gammu",
                    "product": "Gammu",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "1.45.2"
                        }
                    ],
                    "packageURL": "pkg:github/gammu/gammu",
                    "repo": "https://github.com/gammu/gammu"
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "LOW",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 4.8,
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "NONE",
                        "baseScore": 3.3,
                        "baseSeverity": "LOW"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/gammu/gammu/security/advisories/GHSA-f954-jx97-g68w",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "name": "GitHub Security Advisory (GHSA-f954-jx97-g68w)"
                },
                {
                    "url": "https://github.com/gammu/gammu/commit/6ea5148f35995aa8ca02b0c5e4654a125405e799",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/gammu/gammu/releases/tag/1.45.2",
                    "tags": [
                        "release-notes"
                    ],
                    "name": "Gammu 1.45.2 Release Notes"
                },
                {
                    "url": "https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L165-L189",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://github.com/gammu/gammu",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "url": "https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-savebackuptext",
                    "name": "VulnCheck Advisory: Gammu before 1.45.2 Stack-Based Buffer Overflow via SaveBackupText()",
                    "tags": [
                        "third-party-advisory"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Deus Rex",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}