Every CVE Search/ Get API key

OSV-2021-1222

Invalid-free in swift_unexpectedError

No scoreFix available

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38323

Crash type: Invalid-free
Crash state:
swift_unexpectedError
SwiftProtobuf.TextFormatEncodingVisitor.visitRepeatedMessageField<A where A: Swi
merged protocol witness for SwiftProtobuf.Visitor.visitRepeatedEnumField<A where

What each source reports

OSV No score

Invalid-free in swift_unexpectedError

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38323

Crash type: Invalid-free
Crash state:
swift_unexpectedError
SwiftProtobuf.TextFormatEncodingVisitor.visitRepeatedMessageField<A where A: Swi
merged protocol witness for SwiftProtobuf.Visitor.visitRepeatedEnumField<A where
Record
OSV-2021-1222
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
swift-protobuf
OSS-Fuzz
Commit ranges
Not evaluated

Not evaluated means the source gave git commits or a range we can't read, so we can't tell which releases are affected. A fixed version beside it is the source’s own claim.

History

History
RecordedChangedSources
first indexedOSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

OSV-2021-1222 is a vulnerability with no CVSS score yet in swift-protobuf, published September 11, 2021. No source lists public exploit code. A source reports a fix.

References

MoveEnter Open