{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138162",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-11-28T02:15:01.279Z",
        "datePublished": "2026-11-28T02:21:52.313Z",
        "dateUpdated": "2026-11-28T02:21:52.313Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-11-28T02:21:52.313Z"
            },
            "datePublic": "2026-11-09T00:00:00.000Z",
            "title": "Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString()",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ALCATEL_EncodeString() that allows attackers to overwrite stack memory via oversized encoded phonebook text. Attackers can supply a crafted backup restored with gammu restore or addnew to an attached Alcatel phone, using GSM extension characters to crash Gammu or potentially execute code."
                }
            ],
            "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:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                        "attackVector": "LOCAL",
                        "attackComplexity": "HIGH",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 7.3,
                        "baseSeverity": "HIGH"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
                        "attackVector": "LOCAL",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "NONE",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/gammu/gammu/security/advisories/GHSA-3x76-xc9w-q78p",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "name": "GitHub Security Advisory (GHSA-3x76-xc9w-q78p)"
                },
                {
                    "url": "https://github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689",
                    "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/phone/alcatel/alcatel.c#L876-L916",
                    "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-alcatel-encodestring",
                    "name": "VulnCheck Advisory: Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString()",
                    "tags": [
                        "third-party-advisory"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Deus Rex",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}