{"id":"CVE-2018-25027","aliases":["EUVD-2022-0623","GHSA-ghpq-vjxw-ch5w","GHSA-hxjf-h2mh-r6hj","GHSA-jqpv-jm4m-86j9","RUSTSEC-2018-0021"],"status":"published","title":"Use after free in libpulse-binding","description":"An issue was discovered in the libpulse-binding crate before 1.2.1 for Rust. get_format_info can cause a use-after-free.","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-08","score":0.01413,"percentile":0.72886,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-416"],"published":"2018-06-15T12:00:00Z","modified":"2026-10-24T10:31:05Z","fixes":[{"ecosystem":"crates.io","package":"libpulse-binding","fixed_in":["1.2.1"],"sources":["ghsa"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"libpulse-binding","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}]},{"source":"ghsa","ecosystem":"crates.io","package":"libpulse-binding","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"libpulse-binding","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"crates.io","package":"libpulse-binding","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"crates.io","package":"libpulse-binding","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"crates.io","package":"libpulse-binding","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"1.2.1"}]}],"bundled":2}],"products":[{"vendor":"libpulse-binding_project","product":"libpulse-binding"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2018-0021.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/libpulse-binding/RUSTSEC-2018-0021.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","US Government Resource","advisory","web"]},{"url":"https://github.com/jnqnfe/pulse-binding-rust/security/advisories/GHSA-ghpq-vjxw-ch5w","tags":["web"]},{"url":"https://github.com/advisories/GHSA-ghpq-vjxw-ch5w"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25027","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hxjf-h2mh-r6hj"},{"url":"https://github.com/jnqnfe/pulse-binding-rust","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25028","tags":["advisory"]},{"url":"https://crates.io/crates/libpulse-binding","tags":["package"]},{"url":"https://github.com/jnqnfe/pulse-binding-rust/commit/e6930e16573f0b6d12d6628ba5de59147d6f9e95","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-25027","description":"An issue was discovered in the libpulse-binding crate before 1.2.1 for Rust. get_format_info can cause a use-after-free.","status":"published","published":"2021-12-26T21:54:56Z","modified":"2024-08-05T12:26:39.593Z","updated_at":"2026-11-02T14:35:01.952568Z"}],"euvd":[{"id":"EUVD-2022-0623","description":"An issue was discovered in the libpulse-binding crate before 1.2.1 for Rust. get_format_info can cause a use-after-free.","status":"published","published":"2021-12-26T21:54:56Z","modified":"2024-08-05T12:26:39Z","updated_at":"2026-11-03T02:39:27.400094Z"}],"ghsa":[{"id":"GHSA-hxjf-h2mh-r6hj","title":"Use After Free in libpulse-binding","description":"Affected versions contained a pair of use-after-free issues with the objects returned by the get_format_info and get_context methods of Stream objects. These objects were mistakenly being constructed without setting an important flag to prevent destruction of the underlying C objects they reference upon their own destruction.","status":"published","published":"2022-01-06T22:20:12Z","modified":"2023-06-13T18:03:25Z","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-416"],"updated_at":"2026-11-02T14:36:53.654352Z"},{"id":"GHSA-ghpq-vjxw-ch5w","title":"Use after free in libpulse-binding","description":"### Overview\n\nVersion 1.2.1 of the `libpulse-binding` Rust crate, released on the 15th of June 2018, fixed a pair of use-after-free issues with the objects returned by the `get_format_info` and `get_context` methods of `Stream` objects. These objects were mistakenly being constructed without setting an important flag to prevent destruction of the underlying C objects they reference upon their own destruction.\n\nThis advisory is being written retrospectively, having previously only been noted in the changelog. No CVE assignment was sought.\n\n### Patches\n\nUsers are required to update to version 1.2.1 or newer.\n\nVersions older than 1.2.1 have been yanked from crates.io. This was believed to have already been done at the time of the 1.2.1 release, but upon double checking now they were found to still be available, so has been done now (22nd October 2020).","status":"published","published":"2021-08-25T20:56:52Z","modified":"2023-01-11T05:05:28Z","cwes":["CWE-416"],"updated_at":"2026-11-02T14:36:12.361159Z"}],"nvd":[{"id":"CVE-2018-25027","description":"An issue was discovered in the libpulse-binding crate before 1.2.1 for Rust. get_format_info can cause a use-after-free.","status":"published","published":"2021-12-27T00:15:08.117Z","modified":"2026-06-17T01:54:33.037Z","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":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:05:00.565712Z"}],"osv":[{"id":"CVE-2018-25027","description":"An issue was discovered in the libpulse-binding crate before 1.2.1 for Rust. get_format_info can cause a use-after-free.","status":"published","published":"2021-12-27T00:15:08.117Z","modified":"2026-10-24T10:31:05.264354249Z","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:09.145458Z"},{"id":"CVE-2018-25028","description":"An issue was discovered in the libpulse-binding crate before 1.2.1 for Rust. get_context can cause a use-after-free.","status":"published","published":"2021-12-27T00:15:08.153Z","modified":"2026-10-24T10:30:24.765080791Z","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:09.145458Z"},{"id":"GHSA-hxjf-h2mh-r6hj","title":"Use After Free in libpulse-binding","description":"Affected versions contained a pair of use-after-free issues with the objects returned by the get_format_info and get_context methods of Stream objects. These objects were mistakenly being constructed without setting an important flag to prevent destruction of the underlying C objects they reference upon their own destruction.","status":"published","published":"2022-01-06T22:20:12Z","modified":"2023-11-08T04:00:15.029606Z","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-416"],"updated_at":"2026-11-02T15:46:49.621585Z"},{"id":"GHSA-jqpv-jm4m-86j9","title":"Use After Free in libpulse-binding","description":"Affected versions contained a pair of use-after-free issues with the objects returned by the get_format_info and get_context methods of Stream objects. These objects were mistakenly being constructed without setting an important flag to prevent destruction of the underlying C objects they reference upon their own destruction.","status":"published","published":"2022-01-06T22:17:50Z","modified":"2023-11-08T04:00:15.029606Z","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-416"],"updated_at":"2026-11-02T15:46:50.687609Z"},{"id":"GHSA-ghpq-vjxw-ch5w","title":"Use after free in libpulse-binding","description":"### Overview\n\nVersion 1.2.1 of the `libpulse-binding` Rust crate, released on the 15th of June 2018, fixed a pair of use-after-free issues with the objects returned by the `get_format_info` and `get_context` methods of `Stream` objects. These objects were mistakenly being constructed without setting an important flag to prevent destruction of the underlying C objects they reference upon their own destruction.\n\nThis advisory is being written retrospectively, having previously only been noted in the changelog. No CVE assignment was sought.\n\n### Patches\n\nUsers are required to update to version 1.2.1 or newer.\n\nVersions older than 1.2.1 have been yanked from crates.io. This was believed to have already been done at the time of the 1.2.1 release, but upon double checking now they were found to still be available, so has been done now (22nd October 2020).","status":"published","published":"2021-08-25T20:56:52Z","modified":"2023-11-08T04:00:15.029606Z","cwes":["CWE-416"],"updated_at":"2026-11-02T15:46:47.822182Z"},{"id":"RUSTSEC-2018-0021","title":"Use-after-free with objects returned by `Stream`'s `get_format_info` and `get_context` methods","description":"Affected versions contained a pair of use-after-free issues with the objects returned by the `get_format_info` and `get_context` methods of `Stream` objects. These objects were mistakenly being constructed without setting an important flag to prevent destruction of the underlying C objects they reference upon their own destruction.","status":"published","published":"2018-06-15T12:00:00Z","modified":"2026-10-12T18:00:02.676199383Z","updated_at":"2026-11-02T15:53:39.492624Z"}]}}
