CVE-2025-59399

Source
https://cve.org/CVERecord?id=CVE-2025-59399
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59399.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-59399
Published
2025-09-15T00:00:00Z
Modified
2026-08-12T15:14:13Z
Severity
  • 3.1 (Low) CVSS_V3 - CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
Details

libocpp before 0.28.0 allows a denial of service (EVerest crash) because a secondary exception is thrown during error message generation.

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

Affected packages

Git / github.com/everest/libocpp

Affected ranges

Type
GIT
Repo
https://github.com/everest/libocpp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.28.0"
        }
    ],
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.1.0
v0.10.0
v0.11.0
v0.12.0
v0.13.0
v0.13.1
v0.14.0
v0.15.0
v0.15.1
v0.16.0
v0.16.1
v0.16.2
v0.17.0
v0.17.1
v0.17.2
v0.18.0
v0.19.0
v0.2.0
v0.20.0
v0.21.0
v0.22.0
v0.23.0
v0.24.1
v0.24.2
v0.25.0
v0.26.0
v0.26.1
v0.26.2
v0.26.3
v0.27.0
v0.27.1
v0.3.0
v0.4.0
v0.4.1
v0.5.0
v0.5.1
v0.5.2
v0.6.1
v0.7.0
v0.8.0
v0.8.1
v0.8.5
v0.8.6
v0.8.7
v0.9.3
v0.9.4
v0.9.5
v0.9.6
v0.9.7
v0.9.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59399.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "209766885764611737436061403239945851995",
                "204607136026051847477249598771079154876",
                "44497115711603872977858537783534423145",
                "223698307619159020692220161236927047827"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-59399-46b7232d",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/everest/libocpp/commit/0b84d7f9fb3c338d470770f220a7b7f21db78878",
        "target": {
            "file": "lib/ocpp/v16/charge_point_impl.cpp"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "73994883227967532200767388055855200139",
            "length": 678
        },
        "id": "CVE-2025-59399-5c78db7f",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/everest/libocpp/commit/1d2ce8db1b699f13fe73c17e71d2f25f7b68da32",
        "target": {
            "file": "lib/ocpp/v16/charge_point_configuration.cpp",
            "function": "ChargePointConfiguration::getTariffMessageWithDefaultPriceText"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "25299234459406031840467776679802719044",
                "315094674306320564597409304336019623839",
                "202270899290576842256687279282073161545",
                "220080872456833072388885539846130812774",
                "74478917301716849278263463923932173945",
                "119640511448671455571851835210788760523",
                "189603367973680004910531522292522279197",
                "329914649163498463201405919058363773259",
                "44080981853222821786728701797325728186",
                "204151417930325884373647217420963107175",
                "112366757567264701845825871729671194369",
                "113682744450741709582099387594592368450",
                "202270899290576842256687279282073161545",
                "220080872456833072388885539846130812774"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-59399-60cde900",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/everest/libocpp/commit/0b84d7f9fb3c338d470770f220a7b7f21db78878",
        "target": {
            "file": "lib/ocpp/v2/charge_point.cpp"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "255967477608398380744279461039020423285",
            "length": 699
        },
        "id": "CVE-2025-59399-75238695",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/everest/libocpp/commit/1d2ce8db1b699f13fe73c17e71d2f25f7b68da32",
        "target": {
            "file": "lib/ocpp/v16/charge_point_configuration.cpp",
            "function": "ChargePointConfiguration::getTariffMessageWithDefaultPriceTextOffline"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "52564940991756415897980097223455619289",
                "145515638298982473505473414917668406220",
                "8406383378988835671162413007551044860",
                "64062881513990592024926614181612544547",
                "150823740852389978746858348470066227140"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-59399-7773925a",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/everest/libocpp/commit/1d2ce8db1b699f13fe73c17e71d2f25f7b68da32",
        "target": {
            "file": "include/ocpp/v16/charge_point_configuration.hpp"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "49514280794240483717640960373824915964",
                "239934390293254344980836655913844233728",
                "299754318446561888144560132180567577519",
                "57172951299256230513980302010431010311",
                "290401828999704137673675493563615376510",
                "154874567145489419139936536507991507971",
                "775736999329762798201962025691728876",
                "261008516690107617858917258631411024745",
                "204900380053066055172684615670779418218",
                "16527821823975875119054510297901601105",
                "83501202786031148843678530779404712621",
                "36404066186519440948521221025196315000",
                "243864204987234412307263594133241876378",
                "211828990327216168155445043121253969066",
                "12826869705639237243072121403411963875",
                "28855955300388759977309778709873445688",
                "2959922464114545273423590941176547067",
                "96213699054829614773815427771090297671",
                "84139131905669012648866762038087326715",
                "291768709879910918899124547072988939759",
                "188438189541419912238949103580761406399",
                "103502045692292649369530847735059309519",
                "127707979589294394962882181885259218863",
                "290401828999704137673675493563615376510",
                "154874567145489419139936536507991507971",
                "775736999329762798201962025691728876",
                "261008516690107617858917258631411024745",
                "204900380053066055172684615670779418218",
                "3762430641247452096390446789477784827",
                "165181971454653506573157951428580826715",
                "22008848490329486372555711872338420694",
                "41886880343013585347507497007040952777",
                "276599747322456655520718057924593882721",
                "191387874484247955827744133595236488215",
                "28855955300388759977309778709873445688",
                "2959922464114545273423590941176547067",
                "96213699054829614773815427771090297671",
                "84139131905669012648866762038087326715",
                "152497024198382757557013080226780693521"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-59399-8008f594",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/everest/libocpp/commit/1d2ce8db1b699f13fe73c17e71d2f25f7b68da32",
        "target": {
            "file": "lib/ocpp/v16/charge_point_configuration.cpp"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "309955338134842391307232244633507256553",
            "length": 8891
        },
        "id": "CVE-2025-59399-8e7f5a9b",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/everest/libocpp/commit/0b84d7f9fb3c338d470770f220a7b7f21db78878",
        "target": {
            "file": "lib/ocpp/v2/charge_point.cpp",
            "function": "ChargePoint::message_callback"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "180844700051127089775644504739232904775",
            "length": 6113
        },
        "id": "CVE-2025-59399-d90f7805",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/everest/libocpp/commit/0b84d7f9fb3c338d470770f220a7b7f21db78878",
        "target": {
            "file": "lib/ocpp/v16/charge_point_impl.cpp",
            "function": "ChargePointImpl::message_callback"
        }
    }
]
vanir_signatures_modified
"2026-08-12T15:14:13Z"