{"schemaVersion":3,"id":"CVE-2025-24975","aliases":["UBUNTU-CVE-2025-24975","DEBIAN-CVE-2025-24975"],"status":"published","duplicateOf":null,"title":null,"description":"Firebird is a relational database. Prior to snapshot versions 4.0.6.3183, 5.0.2.1610, and 6.0.0.609, Firebird is vulnerable if ExtConnPoolSize is not set equal to 0. If connections stored in ExtConnPool are not verified for presence and suitability of the CryptCallback interface is used when created versus what is available could result in a segfault in the server process. Encrypted databases, accessed by execute statement on external, may be accessed later by an attachment missing a key to that database. In a case when execute statement are chained, segfault may happen. Additionally, the segfault may affect unencrypted databases. This issue has been patched in snapshot versions 4.0.6.3183, 5.0.2.1610, and 6.0.0.609 and point releases 4.0.6 and 5.0.2. A workaround for this issue involves setting ExtConnPoolSize equal to 0 in firebird.conf.","dates":{"published":"2025-08-15T15:11:29.986Z","modified":"2025-08-20T19:50:53.827Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00556,"percentile":0.45264,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.04000000000000002,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00516},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00556,"percentile":0.45264}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00534,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00556,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00556,"percentile":0.45264}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_A83C3E6D4472F72A","name":"Exploit Reference (vicarius.io)","source":"reference","url":"https://www.vicarius.io/vsociety/posts/cve-2025-24975-detect-vulnerable-firebird","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_594AE3A1A1363412","name":"Exploit Reference (vicarius.io)","source":"reference","url":"https://www.vicarius.io/vsociety/posts/cve-2025-24975-mitigate-firebird-vulnerability","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions","description":"The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/754.html"}],"affected":[{"vendor":"debian","product":"firebird4.0","name":"firebird4.0","label":"firebird4.0","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/firebird4.0","purlType":"deb","versions":[{"text":"< 4.0.5.3140.ds6-17+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.6.3221.ds6-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.5.3140.ds6-17+deb13u1 | < 4.0.6.3221.ds6-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"firebird3.0","name":"firebird3.0","label":"firebird3.0","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/firebird3.0","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"firebird4.0","name":"firebird4.0","label":"firebird4.0","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/firebird4.0","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"firebirdsql","product":"firebird","name":"firebird","label":"firebird","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.0.0.609","noFixRecorded":false,"fixedIn":null},{"text":"< 5.0.2.1610","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.6.3183","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.0.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.0.609 | < 5.0.2.1610 | < 4.0.6.3183 | ≥ 4.0.0, < 4.0.6 | ≥ 5.0.0, < 5.0.2","eol":null,"hubHref":"/vendor/firebirdsql/firebird"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-fx9r-rj68-7p69","label":"github.com/FirebirdSQL/firebird/security/advisories/GHSA-fx9r-rj68-7p69","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Mitigation","Vendor Advisory"]},{"url":"https://github.com/FirebirdSQL/firebird/issues/8429","label":"github.com/FirebirdSQL/firebird/issues/8429","hostname":"github.com","tags":["X Refsource MISC","REPORT","Issue Tracking"]},{"url":"https://github.com/FirebirdSQL/firebird/commit/658abd20449f72097fbbce57e8e6ae42ff837fb6","label":"github.com/FirebirdSQL/firebird/commit/658abd20449f72097fbbce57e8e6ae42ff837fb6","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-24975-detect-vulnerable-firebird","label":"www.vicarius.io/vsociety/posts/cve-2025-24975-detect-vulnerable-firebird","hostname":"www.vicarius.io","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-24975-mitigate-firebird-vulnerability","label":"www.vicarius.io/vsociety/posts/cve-2025-24975-mitigate-firebird-vulnerability","hostname":"www.vicarius.io","tags":["Exploit","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-24975","label":"ubuntu.com/security/CVE-2025-24975","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-24975","label":"www.cve.org/CVERecord?id=CVE-2025-24975","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-24975","label":"security-tracker.debian.org/tracker/CVE-2025-24975","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-5992-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-08-15T15:11:29.986Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-08-20T19:50:53.827Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T10:33:05.031Z","stale":false,"partial":false}}