CVE-2025-32023

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-32023
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32023.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-32023
Aliases
Downstream
Related
Published
2025-07-07T16:15:22Z
Modified
2025-10-10T05:00:10.033352Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Redis is an open source, in-memory database that persists on disk. From 2.8 to before 8.0.3, 7.4.5, 7.2.10, and 6.2.19, an authenticated user may use a specially crafted string to trigger a stack/heap out of bounds write on hyperloglog operations, potentially leading to remote code execution. The bug likely affects all Redis versions with hyperloglog operations implemented. This vulnerability is fixed in 8.0.3, 7.4.5, 7.2.10, and 6.2.19. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing hyperloglog operations. This can be done using ACL to restrict HLL commands.

References

Affected packages

Git / github.com/redis/redis

Affected ranges

Type
GIT
Repo
https://github.com/redis/redis
Events

Affected versions

1.*

1.3.6

2.*

2.2-alpha0
2.2-alpha1
2.2-alpha2
2.2-alpha3
2.2-alpha4
2.2-alpha5
2.2-alpha6
2.2.0-rc1
2.3-alpha0

3.*

3.0-alpha0

6.*

6.2-rc1
6.2-rc2
6.2-rc3
6.2.0
6.2.1
6.2.10
6.2.11
6.2.12
6.2.13
6.2.14
6.2.15
6.2.16
6.2.17
6.2.18
6.2.2
6.2.3
6.2.4
6.2.5
6.2.6
6.2.7
6.2.8
6.2.9

7.*

7.2-rc1
7.2-rc2
7.2-rc3
7.2.0
7.2.1
7.2.2
7.2.3
7.2.4
7.2.5
7.2.6
7.2.7
7.2.8
7.2.9
7.4-rc1
7.4-rc2
7.4.0
7.4.1
7.4.2
7.4.3
7.4.4

8.*

8.0-m01
8.0-m02
8.0-m03
8.0-m04
8.0-m04-int
8.0-rc1
8.0-rc1-int
8.0-rc1-int2
8.0-rc2-int
8.0.0
8.0.1
8.0.1-int
8.0.2

v1.*

v1.3.10
v1.3.11
v1.3.12
v1.3.7
v1.3.8
v1.3.9

v2.*

v2.0.0-rc1
v2.1.1-watch

Other

vm-playpen
with-deprecated-diskstore

Database specific

{
    "vanir_signatures": [
        {
            "id": "CVE-2025-32023-0cbdcc49",
            "digest": {
                "length": 908.0,
                "function_hash": "129779998429974651354293642127150162902"
            },
            "target": {
                "function": "hllSparseToDense",
                "file": "src/hyperloglog.c"
            },
            "source": "https://github.com/redis/redis/commit/50188747cbfe43528d2719399a2a3c9599169445",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Function"
        },
        {
            "id": "CVE-2025-32023-3597acc4",
            "digest": {
                "length": 733.0,
                "function_hash": "13110939117011304517004443570365877133"
            },
            "target": {
                "function": "hllMerge",
                "file": "src/hyperloglog.c"
            },
            "source": "https://github.com/redis/redis/commit/50188747cbfe43528d2719399a2a3c9599169445",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Function"
        },
        {
            "id": "CVE-2025-32023-6cf8c740",
            "digest": {
                "line_hashes": [
                    "161130550094648145746684114360630705850",
                    "150296783300195929630338816800163077356",
                    "324757318019474917851111605757511146399",
                    "48443237562126307296074555584900619600",
                    "943140310968948733257800067551040115",
                    "77206904569032948157402165180744281704",
                    "54220576544187959800608079950099532334",
                    "163525978105105879703300817675579012662",
                    "286944723218722685655328078188182448494",
                    "149353275136718880675335349200066632944",
                    "314126798139008040895437071948757677545",
                    "329972309443768499364194409287314098760",
                    "247131607397687281256177826960955533581",
                    "64954938294874463851734563066909390287",
                    "259931982932627762285506727167403023289",
                    "244557390104640110658510793762523031165",
                    "220595675868915384537378465908598390295",
                    "82117174039672036645607373954801061847",
                    "99498813721876898603300708982169945975",
                    "273315298553281839163351937261702331232",
                    "288061040493901638938035679017025983176",
                    "209881264181947740157046833486518405543",
                    "177587936925485930081943971502556365346",
                    "282818857702032744574770866295660623994",
                    "97697508912184950398200176402102246535",
                    "147652199288863048771452993212009746563",
                    "77206904569032948157402165180744281704",
                    "82603988214618883970296355474204546510",
                    "71600274496782095214088945629245599387",
                    "264074078618288337091926483665863518921",
                    "284025846420163027143840089582065736289",
                    "149353275136718880675335349200066632944",
                    "191151508178975775465640616757469942986",
                    "227360101722825627781073528523691939616",
                    "245977317173000080165212439759381833599",
                    "251162027508189115655068121502662168000",
                    "64954938294874463851734563066909390287",
                    "49191687948616390749141121443495170991",
                    "159606694428081131321281370993728549377",
                    "312312749923233527374055075485970857179",
                    "178488374770442854601810438606034899896",
                    "182172240062532227241326464800799826406",
                    "157557743724461171681159906578703156734",
                    "147677684377709583776098091972430714973",
                    "249224276617144109581293633419664947141",
                    "146452673585891991137435680746906591255",
                    "233488419955622077363276744236323716928",
                    "331272533204373860181898733352578644817",
                    "175317999564137330865327544850031903834",
                    "339529606660995622271230546078681415858",
                    "125535678854358756683660894756343907794",
                    "181315612880403463653601729219767662899",
                    "267220154172190819229547577375284177224",
                    "248526602376172639785822559052013055099",
                    "3189650006762582464355168401268957572",
                    "2241206270602762956923758292903023807",
                    "260632655828041001194225941362431397104",
                    "160098897125102414988234853977950845419",
                    "121833759255957245681910394109675411028",
                    "268210105647145868658848864797133155566",
                    "64954938294874463851734563066909390287",
                    "281257054529954318369472419634267862126",
                    "316990178765018216400590249446808895157",
                    "163080108443171659159423545091384031831",
                    "151995268083565576665415626169664799012",
                    "174314777746783260264109025923343807831",
                    "26838673585568184004951647481185398623",
                    "107027639973597858444205716663694237754",
                    "74710119665493252182164707879633228192"
                ],
                "threshold": 0.9
            },
            "target": {
                "file": "src/hyperloglog.c"
            },
            "source": "https://github.com/redis/redis/commit/50188747cbfe43528d2719399a2a3c9599169445",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Line"
        },
        {
            "id": "CVE-2025-32023-e1d8af32",
            "digest": {
                "length": 534.0,
                "function_hash": "35977819258405606129938402535985569600"
            },
            "target": {
                "function": "hllSparseRegHisto",
                "file": "src/hyperloglog.c"
            },
            "source": "https://github.com/redis/redis/commit/50188747cbfe43528d2719399a2a3c9599169445",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Function"
        }
    ]
}