CVE-2026-3446

Source
https://cve.org/CVERecord?id=CVE-2026-3446
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-3446.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-3446
Aliases
Downstream
BELL (1)
CGA (8)
DEBIAN (1)
ECHO (1)
MGASA (1)
MINI (5)
openSUSE (7)
RHSA (5)
ROOT (2)
SUSE (21)
UBUNTU (1)
Related
Published
2026-04-10T18:17:35Z
Modified
2026-10-20T10:56:45Z
Severity
  • 6.0 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Base64 decoding stops at first padded quad by default
Details

When calling base64.b64decode() or related functions the decoding process would stop after encountering the first padded quad regardless of whether there was more information to be processed. This can lead to data being accepted which may be processed differently by other implementations. Use "validate=True" to enable stricter processing of base64 data.

Database specific
{
    "cna_assigner": "PSF",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3446.json"
}
References

Affected packages

Git / github.com/python/cpython

Affected ranges

Type
GIT
Repo
https://github.com/python/cpython
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "3.13.13"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "introduced": "3.14.0"
                },
                {
                    "fixed": "3.14.4"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "introduced": "3.15.0a1"
                },
                {
                    "fixed": "3.15.0a8"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "fixed": "1f9958f909c1b41a4ffc0b613ef8ec8fa5e7c474"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "4561f6418a691b3e89aef0901f53fe0dfb7f7c0e"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "e31c55121620189a0d1a07b689762d8ca9c1b7fa"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v0.*
v0.9.8
v0.9.9
v1.*
v1.0.1
v1.0.2
v1.1
v1.1.1
v1.2
v1.2b1
v1.2b2
v1.2b3
v1.2b4
v1.3
v1.3b1
v1.4
v1.4b1
v1.4b2
v1.4b3
v1.5
v1.5.1
v1.5.2
v1.5.2a1
v1.5.2a2
v1.5.2b1
v1.5.2b2
v1.5.2c1
v1.5a1
v1.5a2
v1.5a3
v1.5a4
v1.5b1
v1.5b2
v1.6a1
v1.6a2
v2.*
v2.0
v2.0b1
v2.0b2
v2.0c1
v2.1
v2.1a1
v2.1a2
v2.1b1
v2.1b2
v2.1c1
v2.1c2
v2.2a3
v2.3c1
v2.3c2
v2.4
v2.4a1
v2.4a2
v2.4a3
v2.4b1
v2.4b2
v2.4c1
v3.*
v3.0a1
v3.0a2
v3.0a3
v3.0a4
v3.0a5
v3.0b1
v3.0b2
v3.0b3
v3.0rc1
v3.0rc2
v3.0rc3
v3.1
v3.10.0a1
v3.10.0a7
v3.11.0a3
v3.11.0a4
v3.11.0a5
v3.11.0a6
v3.11.0a7
v3.11.0b1
v3.12.0a1
v3.12.0a2
v3.12.0a3
v3.12.0a4
v3.12.0a5
v3.12.0a6
v3.12.0a7
v3.12.0b1
v3.13.0
v3.13.0a1
v3.13.0a2
v3.13.0a3
v3.13.0a4
v3.13.0a5
v3.13.0a6
v3.13.0b1
v3.13.0b2
v3.13.0b3
v3.13.0b4
v3.13.0rc1
v3.13.0rc2
v3.13.0rc3
v3.13.1
v3.13.10
v3.13.11
v3.13.12
v3.13.2
v3.13.3
v3.13.4
v3.13.5
v3.13.6
v3.13.7
v3.13.8
v3.14.0
v3.14.0a1
v3.14.0a2
v3.14.0a3
v3.14.0a4
v3.14.0a5
v3.14.0a6
v3.14.0a7
v3.14.0b1
v3.14.1
v3.14.2
v3.14.3
v3.15.0a1
v3.15.0a2
v3.15.0a3
v3.15.0a4
v3.15.0a5
v3.15.0a6
v3.15.0a7
v3.1a1
v3.1a2
v3.1b1
v3.1rc1
v3.1rc2
v3.2a1
v3.2a2
v3.2a3
v3.2a4
v3.2b1
v3.2b2
v3.2rc1
v3.2rc2
v3.2rc3
v3.3.0a2
v3.3.0a3
v3.3.0a4
v3.3.0b1
v3.3.0b2
v3.3.0rc1
v3.3.0rc2
v3.3.0rc3
v3.4.0a1
v3.4.0a2
v3.4.0a3
v3.4.0a4
v3.4.0b1
v3.4.0b2
v3.4.0b3
v3.5.0a1
v3.5.0a2
v3.5.0a3
v3.5.0a4
v3.5.0b1
v3.6.0a3
v3.6.0b1
v3.7.0a2
v3.9.0a2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-3446.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "103369807178508843048769308770419387734",
            "length": 2230
        },
        "id": "CVE-2026-3446-0b934374",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/python/cpython/commit/1f9958f909c1b41a4ffc0b613ef8ec8fa5e7c474",
        "target": {
            "file": "Modules/binascii.c",
            "function": "binascii_a2b_base64_impl"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "308251740243441214360241344315486296835",
                "298862593070636676838789130776435922669",
                "31704696705913007112872600436317835618",
                "3280561959286627567091312740286433895",
                "272791511690695712636408433850158011755",
                "154091195890888924887993257476057807202",
                "199321559360362629679343461495658906679",
                "64652915847875798038201753692051499167",
                "209195336072683093797728904497353191729",
                "274540444991886262027678749169562213340",
                "207220683908788801272888562488874790286",
                "125026167999666153136739113362083304671",
                "166154517069735982134528465311338372891",
                "208624445947860561478471450665232792223",
                "96583922001486603601211494593019858049",
                "44944451828091764896700976518936101798",
                "319790419203790842482825477990915332180",
                "140171390476066666992926741728328718818",
                "192611564822380438889390570019719237281",
                "329897414788943950679656511673684579497",
                "184767017461582757056879474976152227212",
                "204071045944111214315220627755095307487",
                "123265500389455362152543683130796058161",
                "2441355853725062326381121354694109828",
                "181667707373597108113537153740408971276",
                "51115585563120211361192828290020388836",
                "61605733972765768067584554214078048423",
                "237753359131552120379902720857850333877",
                "186697014518989849383172688589949722656",
                "105615033772616992587305665160491661262",
                "269508363084351753312328813433874065087",
                "78831260798923098311229929447562754306",
                "115134339427902111116093382244703660037",
                "244345394403669769192405449455371840813",
                "212984458459346155171920207561911395330",
                "185250422783555309345219106475937286480",
                "13024832950729763097226277911512554200",
                "8969369628337930508571551292381739191"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-3446-6254466f",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/python/cpython/commit/4561f6418a691b3e89aef0901f53fe0dfb7f7c0e",
        "target": {
            "file": "Modules/binascii.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "103369807178508843048769308770419387734",
            "length": 2230
        },
        "id": "CVE-2026-3446-7ba7bbf9",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/python/cpython/commit/e31c55121620189a0d1a07b689762d8ca9c1b7fa",
        "target": {
            "file": "Modules/binascii.c",
            "function": "binascii_a2b_base64_impl"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "123635523725358902078508386734471902891",
                "108125221252364101808027638043428450474",
                "79994763104442606067528366713217206588",
                "298875896449099532246314973440700880483",
                "131276957853797444143918529599362402067",
                "308063782408077053116898908310959779378",
                "70884714737382840049626132706926779011",
                "90998911109483442502038699990204914345",
                "73879260667300092604960706656790116149",
                "89182059871790226817095073250406681213",
                "205438025362869930180688388584524679101",
                "58450693609344352857289834763655103227",
                "36422638745407973472632689957383860805",
                "329716844482569426569848752475078850854",
                "3628427468054204590199912533462780072",
                "330298391492688350654447270628060926332",
                "287345845746113905275328289643979825588",
                "339140038884606462140589668896329266724",
                "249421260884884210332871300768418587548",
                "136395771507493313850383157163475888676",
                "254282474768175473119577095122290058814",
                "85390170141216873481808295299321911956",
                "86558242267614229969554464265648641409",
                "162971034528562725994491065883770019054",
                "123538170645199403935136602862503594815",
                "91985313363154926664085196957047861427",
                "275432643142619711677314852285498258753",
                "93323820613333534808760318053989141204",
                "5704833454328273914791281513298680160",
                "235708008844211864318086671127550536123",
                "155011100247004915195944431855250656184",
                "216230438711922842333879789623549401373",
                "216275148846198804725633570116806171440",
                "181667707373597108113537153740408971276",
                "27578296075726186158758776087080138309",
                "257947884160127922166035083941661838461",
                "106111669884500764496618620417094458988",
                "239397552708082750842923074692406148431",
                "139526213414538076177046670910845768705",
                "328181785176647155843931441458043769967",
                "175190668366948655292645453220864802425",
                "261471763521814770762048116682668425488",
                "315503902498807569325894220328513750970",
                "9320674349515819920533496325533874462",
                "233213085909602029195319028151751318939",
                "161539167176229141501379715884458660259",
                "130846012132325685824653142947986325993",
                "211359745289538164425350708662258248497",
                "240897911899472837585528361084534866894",
                "59544026479256883561770473372156006850",
                "125561156616582773906437729591981056472",
                "230803155910909904355725046407046410859",
                "189534308655021453950569910166243132969",
                "151751636185985374366626029170238088943",
                "165986068549435320943140340117846921865",
                "117314137094436273832364231217091571093",
                "113030228346391728296237231520660133235",
                "107159704880679415537037350413675041898",
                "211149141439252187869196935399044035590",
                "180899262038309639974384311710147461771",
                "53845784210039462852798582001209982938",
                "75690331464615218550736256181027735348",
                "276837003965930946319593094099046145964",
                "110228010983398675242563637946605859739",
                "169209664900858544429380426283382736338",
                "49472020276298342587390078868144304431"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-3446-8fa1a7b2",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/python/cpython/commit/1f9958f909c1b41a4ffc0b613ef8ec8fa5e7c474",
        "target": {
            "file": "Modules/binascii.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "261183251055620458389601786158565502570",
            "length": 3050
        },
        "id": "CVE-2026-3446-98714d4c",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/python/cpython/commit/4561f6418a691b3e89aef0901f53fe0dfb7f7c0e",
        "target": {
            "file": "Modules/binascii.c",
            "function": "binascii_a2b_base64_impl"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "123635523725358902078508386734471902891",
                "108125221252364101808027638043428450474",
                "79994763104442606067528366713217206588",
                "298875896449099532246314973440700880483",
                "131276957853797444143918529599362402067",
                "308063782408077053116898908310959779378",
                "70884714737382840049626132706926779011",
                "90998911109483442502038699990204914345",
                "73879260667300092604960706656790116149",
                "89182059871790226817095073250406681213",
                "205438025362869930180688388584524679101",
                "58450693609344352857289834763655103227",
                "36422638745407973472632689957383860805",
                "329716844482569426569848752475078850854",
                "3628427468054204590199912533462780072",
                "330298391492688350654447270628060926332",
                "287345845746113905275328289643979825588",
                "339140038884606462140589668896329266724",
                "249421260884884210332871300768418587548",
                "136395771507493313850383157163475888676",
                "254282474768175473119577095122290058814",
                "85390170141216873481808295299321911956",
                "86558242267614229969554464265648641409",
                "162971034528562725994491065883770019054",
                "123538170645199403935136602862503594815",
                "91985313363154926664085196957047861427",
                "275432643142619711677314852285498258753",
                "93323820613333534808760318053989141204",
                "5704833454328273914791281513298680160",
                "235708008844211864318086671127550536123",
                "155011100247004915195944431855250656184",
                "216230438711922842333879789623549401373",
                "216275148846198804725633570116806171440",
                "181667707373597108113537153740408971276",
                "27578296075726186158758776087080138309",
                "257947884160127922166035083941661838461",
                "106111669884500764496618620417094458988",
                "239397552708082750842923074692406148431",
                "139526213414538076177046670910845768705",
                "328181785176647155843931441458043769967",
                "175190668366948655292645453220864802425",
                "261471763521814770762048116682668425488",
                "315503902498807569325894220328513750970",
                "9320674349515819920533496325533874462",
                "233213085909602029195319028151751318939",
                "161539167176229141501379715884458660259",
                "130846012132325685824653142947986325993",
                "211359745289538164425350708662258248497",
                "240897911899472837585528361084534866894",
                "59544026479256883561770473372156006850",
                "125561156616582773906437729591981056472",
                "230803155910909904355725046407046410859",
                "189534308655021453950569910166243132969",
                "151751636185985374366626029170238088943",
                "165986068549435320943140340117846921865",
                "117314137094436273832364231217091571093",
                "113030228346391728296237231520660133235",
                "107159704880679415537037350413675041898",
                "211149141439252187869196935399044035590",
                "180899262038309639974384311710147461771",
                "53845784210039462852798582001209982938",
                "75690331464615218550736256181027735348",
                "276837003965930946319593094099046145964",
                "110228010983398675242563637946605859739",
                "169209664900858544429380426283382736338",
                "49472020276298342587390078868144304431"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-3446-e6a88939",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/python/cpython/commit/e31c55121620189a0d1a07b689762d8ca9c1b7fa",
        "target": {
            "file": "Modules/binascii.c"
        }
    }
]
vanir_signatures_modified
"2026-10-16T07:22:30Z"