{"id":"CVE-2023-24535","aliases":["EUVD-2023-1039","GHSA-hw7c-3rfg-p46j","GO-2023-1631","UBUNTU-CVE-2023-24535"],"status":"published","title":"Panic when parsing invalid messages in google.golang.org/protobuf","description":"Parsing invalid messages can panic. Parsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01089,"percentile":0.65577,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2023-03-14T16:47:00Z","modified":"2026-10-28T02:30:59Z","fixes":[{"ecosystem":"Go","package":"google.golang.org/protobuf","fixed_in":["1.29.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"google.golang.org/protobuf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.29.0"},{"fixed":"1.29.1"}]}]},{"source":"osv","ecosystem":"Go","package":"google.golang.org/protobuf","ranges":[{"type":"SEMVER","events":[{"introduced":"1.29.0"},{"fixed":"1.29.1"}]}]},{"source":"osv","ecosystem":"Go","package":"google.golang.org/protobuf","ranges":[{"type":"SEMVER","events":[{"introduced":"1.29.0"},{"fixed":"1.29.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"golang-goprotobuf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20150526-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"golang-goprotobuf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20170808.0.1909bc2-1ubuntu1","0.0~git20170808.0.1909bc2-1ubuntu2","0.0~git20170808.0.1909bc2-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"golang-goprotobuf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"golang-goprotobuf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.4-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"golang-github-golang-protobuf-1-3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.5-4build1","1.3.5-4ubuntu0.24.04.1","1.3.5-4ubuntu0.24.04.2","1.3.5-4ubuntu0.24.04.3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"golang-github-golang-protobuf-1-5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.2-3build1","1.5.3-1","1.5.3-1ubuntu0.1","1.5.3-1ubuntu0.2","1.5.3-1ubuntu0.3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"golang-github-golang-protobuf-1-3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.5-4build1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"golang-github-golang-protobuf-1-5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.4-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"golang-github-golang-protobuf-1-5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.4-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"golang-github-golang-protobuf-1-5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.4-1","1.5.4-2"]}],"products":[{"vendor":"google.golang.org/protobuf","product":"google.golang.org/protobuf/encoding/prototext"},{"vendor":"google.golang.org/protobuf","product":"google.golang.org/protobuf/internal/encoding/text"},{"vendor":"protobuf","product":"protobuf"}],"references":[{"url":"https://go.dev/cl/475995","tags":["x_transferred","Patch","web","fix","report"]},{"url":"https://github.com/golang/protobuf/issues/1530","tags":["x_transferred","Issue Tracking","report","web"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1631","tags":["x_transferred","Third Party Advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-24535","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hw7c-3rfg-p46j"},{"url":"https://pkg.go.dev","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/24xxx/CVE-2023-24535.json","tags":["advisory"]},{"url":"https://github.com/golang/protobuf","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2023-24535","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-24535","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-24535","title":"Panic when parsing invalid messages in google.golang.org/protobuf","description":"Parsing invalid messages can panic. Parsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic.","status":"published","published":"2023-06-08T20:26:40.313Z","modified":"2025-01-06T19:33:28.532Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"updated_at":"2026-11-02T14:35:27.006218Z"}],"euvd":[{"id":"EUVD-2023-1039","description":"Parsing invalid messages can panic. Parsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic.","status":"published","published":"2023-06-08T20:26:40Z","modified":"2025-01-06T19:33:28Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T00:04:25.174818Z"}],"ghsa":[{"id":"GHSA-hw7c-3rfg-p46j","title":"google.golang.org/protobuf vulnerable to panic leading to denial of service","description":"Parsing invalid messages can panic.\n\nParsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic.","status":"published","published":"2023-03-14T23:01:50Z","modified":"2024-05-20T21:49:40Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:37:50.750599Z"}],"nvd":[{"id":"CVE-2023-24535","description":"Parsing invalid messages can panic. Parsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic.","status":"published","published":"2023-06-08T21:15:16.42Z","modified":"2026-06-17T05:39:29.1Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:08:05.329837Z"}],"osv":[{"id":"CVE-2023-24535","title":"Panic when parsing invalid messages in google.golang.org/protobuf","description":"Parsing invalid messages can panic. Parsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic.","status":"published","published":"2023-06-08T20:26:40.313Z","modified":"2026-10-28T02:30:59.741486872Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:30.709518Z"},{"id":"GHSA-hw7c-3rfg-p46j","title":"google.golang.org/protobuf vulnerable to panic leading to denial of service","description":"Parsing invalid messages can panic.\n\nParsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic.","status":"published","published":"2023-03-14T23:01:50Z","modified":"2026-09-10T03:49:52.952785966Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:46:49.621585Z"},{"id":"UBUNTU-CVE-2023-24535","description":"Parsing invalid messages can panic. Parsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic.","status":"published","published":"2023-06-08T21:15:00Z","modified":"2026-10-17T12:56:04.078651338Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:20.198616Z"},{"id":"GO-2023-1631","title":"Panic when parsing invalid messages in google.golang.org/protobuf","description":"Parsing invalid messages can panic.\n\nParsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic.","status":"published","published":"2023-03-14T16:47:00Z","modified":"2026-02-04T04:28:08.549542Z","updated_at":"2026-11-02T15:47:01.185262Z"}]}}
